升级

 升级 SeaTable Python 运行器,也就是更新 Python scheduler, Python starter, Python runner 这三个组件的镜像 。
SeaTable Python 运行器的不同组件的版本和 SeaTable 版本存在一定的兼容关系,建议你保持使用最新的版本。
升级
拉取镜像
如果您使用的是 latest 镜像,请先拉取更新镜像
            
                
                
docker pull seatable/seatable-python-scheduler:latest
docker pull seatable/seatable-python-starter:latest
docker pull seatable/seatable-python-runner:latest
注意:部署 Python 运行器要求 Docker 版本为 20.10.10 或更高版本
重启服务
进入到 Python 运行器安装目录,重启服务
            
                
                
docker compose down
docker compose up -d
更换镜像
如果您是想更换镜像,那就拉取您需要的镜像
            
                
                
docker pull seatable/seatable-python-scheduler:sometag
docker pull seatable/seatable-python-starter:sometag
docker pull seatable/seatable-python-runner:sometag
修改 .env 文件中的标签,同时确定 ENABLE_PYTHON_SCRIPT 为 true,否则 SeaTable 将不会使用 Python 运行器
            
                
                
SEATABLE_SCHEDULER_IMAGE=seatable/seatable-python-scheduler:sometag
SEATABLE_STARTER_IMAGE=seatable/seatable-python-starter:sometag
SEATABLE_RUNNER_IMAGE=seatable/seatable-python-runner:sometag

ENABLE_PYTHON_SCRIPT=true
重启服务
            
                
                
docker compose down
docker compose up -d