Skip to content

Commit 47a9838

Browse files
committed
seadoc fixes
1 parent 5f1f705 commit 47a9838

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

compose/seadoc.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,27 @@
22
services:
33
caddy:
44
ports:
5-
- ${SEADOC_PORT:-7070}:${SEADOC_PORT:-7070}
5+
- ${SEADOC_PORT:-6240}:${SEADOC_PORT:-6240}
66

77
seadoc:
88
image: ${SEADOC_IMAGE:-seafileltd/sdoc-server:2.0.3-testing}
99
container_name: seadoc
10+
restart: unless-stopped
1011
volumes:
1112
- ${SEADOC_VOLUME:-/opt/seadoc/}:/shared
1213
environment:
1314
- DB_HOST=${MARIADB_HOST:-mariadb}
1415
- DB_PORT=${MARIADB_PORT:-3306}
1516
- DB_USER=${MARIADB_USER:-root}
16-
- DB_PASSWORD=${MARIADB_ROOT_PASSWORD:?Variable is not set or empty}
17+
- DB_PASSWORD=${MARIADB_PASSWORD:?Variable is not set or empty}
1718
- DB_NAME=dtable_db
1819
- TIME_ZONE=${TIME_ZONE}
1920
- JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty}
2021
- NON_ROOT=${NON_ROOT:-false}
2122
- SEAHUB_SERVICE_URL=${SEATABLE_SERVER_PROTOCOL:-https}://${SEATABLE_SERVER_HOSTNAME:?Variable is not set or empty}
2223
labels:
23-
caddy: "${SEATABLE_SERVER_PROTOCOL:-https}://${SEATABLE_SERVER_HOSTNAME:?Variable is not set or empty}:${SEADOC_PORT:-7070}"
24+
caddy: ${SEATABLE_SERVER_HOSTNAME}:${SEADOC_PORT:-6240}
2425
caddy.reverse_proxy: "{{upstreams 80}}"
25-
depends_on:
26-
- mariadb:
2726
networks:
2827
- frontend-net
2928
- backend-seatable-net

0 commit comments

Comments
 (0)