COMPOSE_FILE='docker-compose.yml'
COMPOSE_PATH_SEPARATOR=','
SEATABLE_IMAGE=seatable/seatable-developer:latest
SEATABLE_VOLUMES=/opt/seatable/seatable-data
TIME_ZONE='Asia/Bangkok'
# 使用外部 MySQL 数据库
SEATABLE_MYSQL_DB_HOST=th.***.cn # 修改为你的外部 MySQL 主机地址
SEATABLE_MYSQL_DB_PORT=3306
SEATABLE_MYSQL_ROOT_PASSWORD=mysql_*** # 修改为外部 MySQL 的 root 密码
# 其他 Seatable 配置
SEATABLE_SERVER_HOSTNAME=th.e-123.cn
SEATABLE_SERVER_PROTOCOL=http
SEATABLE_SERVER_LETSENCRYPT=False
SEATABLE_SSL_PORT=7443
SEATABLE_ADMIN_EMAIL=szlaoding@gmail.com
SEATABLE_ADMIN_PASSWORD=123456
下面是docker-compose.yml的部分配置
services:
seatable-server:
image: ${SEATABLE_IMAGE:-seatable/seatable-developer:latest}
restart: unless-stopped
container_name: seatable
ports:
- 7080:80
- ${SEATABLE_SSL_PORT:-7443}:443
volumes:
- "${SEATABLE_VOLUMES:-/opt/seatable/seatable-data}:/shared"
environment:
- DB_HOST=${SEATABLE_MYSQL_DB_HOST:?Variable is not set or empty}
- DB_PORT=${SEATABLE_MYSQL_DB_PORT:?Variable is not set or empty}
- DB_ROOT_PASSWD=${SEATABLE_MYSQL_ROOT_PASSWORD:?Variable is not set or empty}
- SEATABLE_SERVER_HOSTNAME=${SEATABLE_SERVER_HOSTNAME:?Variable is not set or empty}
- SEATABLE_SERVER_PROTOCOL=${SEATABLE_SERVER_PROTOCOL:-http}
- SEATABLE_SERVER_LETSENCRYPT=${SEATABLE_SERVER_LETSENCRYPT:-False}
- SEATABLE_ADMIN_EMAIL=${SEATABLE_ADMIN_EMAIL:-}
- SEATABLE_ADMIN_PASSWORD=${SEATABLE_ADMIN_PASSWORD:-}
- TIME_ZONE=${TIME_ZONE}
部署完后,打开浏览器页面,访问被拒绝,请问有试过成功的吗?请教一下!