今天尝试使用“新部署方案”,重新部署一套SeaTable 4.3.0开发者版本。
我的OS: Debian 11
根据官网教程:下载两个文件.env和docker-compose.yml,并进行了编辑。
放在/opt/seatable
路径下 运行 docker-compose up -d
,结果各种报错啊。
目前还为部署成功,把排除的几个问题在这里记录下:
1、ERROR: .FileNotFoundError: [Errno 2] No such file or directory: "./'docker-compose.yml'"
解决:编辑.env文件,将COMPOSE_FILE='docker-compose.yml'
改为COMPOSE_FILE=docker-compose.yml
,即把docker-compose.yml
的单引号去掉,可以正常执行docker-compose
命令
2、ERROR: Invalid interpolation format for "seatable-server" option in service "services": "${SEATABLE_IMAGE:-seatable/seatable-developer:4.3.0}"
解决:编辑docker-compose.yml,在开头增加version: '3'
,可以正常处理环境变量引入问题。
3、services.seatable-server.ports is invalid: Port ranges don't match in length
解决:- ${SEATABLE_SSL_PORT:-}:443
这句前面增加#
把这句注销掉,报错消失。
还有3个错误,还在尝试解决:
networks.backend-seatable-net value Additional properties are not allowed (‘name’ was unexpected)
networks.frontend-net value Additional properties are not allowed (‘name’ was unexpected)
services.seatable-server.depends_on contains an invalid type, it should be an array
SeaTable系统现在已经不支持Centos了,官方大大难道就只测试了Ubuntu一个系统吗?