Skip to content

Commit 24de5ac

Browse files
committed
optimize variables for seadoc
1 parent e7000a8 commit 24de5ac

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

compose/seadoc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ services:
44
ports:
55
- ${SEADOC_PORT:-6240}:${SEADOC_PORT:-6240}
66

7+
seatable-server:
8+
environment:
9+
- ENABLE_SEADOC=true
10+
- SEADOC_SERVER_URL=${SEATABLE_SERVER_PROTOCOL:-}://${SEATABLE_SERVER_HOSTNAME:-}:${SEADOC_PORT:-6240}
11+
712
seadoc:
813
image: ${SEADOC_IMAGE:-seafileltd/sdoc-server:2.0.3-testing}
914
container_name: seadoc

compose/seatable-server.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ services:
2424
- REDIS_PORT=${REDIS_PORT:-6379}
2525
- REDIS_PASSWORD=${REDIS_PASSWORD:?Variable is not set or empty}
2626
- JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty}
27-
- ENABLE_SEADOC=${ENABLE_SEADOC:-false}
28-
- SEADOC_SERVER_URL=${SEATABLE_SERVER_PROTOCOL:-}://${SEATABLE_SERVER_HOSTNAME:-}:${SEADOC_PORT:-6240}
2927
- SEATABLE_SERVER_HOSTNAME=${SEATABLE_SERVER_HOSTNAME:?Variable is not set or empty}
3028
- SEATABLE_SERVER_PROTOCOL=${SEATABLE_SERVER_PROTOCOL:-https}
3129
- SEATABLE_ADMIN_EMAIL=${SEATABLE_ADMIN_EMAIL:?Variable is not set or empty}

0 commit comments

Comments
 (0)