mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
Merge pull request #563 from haiwen/update_seadoc_yml_use_inner_network
Some checks failed
Deploy CI - 12.0 / deploy (push) Has been cancelled
Some checks failed
Deploy CI - 12.0 / deploy (push) Has been cancelled
seadoc use inner network when deploy with seafile
This commit is contained in:
commit
edb0b6f155
|
|
@ -50,7 +50,6 @@ The easiest way to deployment SeaDoc is to deploy it with Seafile server on the
|
|||
COMPOSE_FILE='seafile-server.yml,caddy.yml,seadoc.yml'
|
||||
|
||||
ENABLE_SEADOC=true
|
||||
SEADOC_SERVER_URL=https://seafile.example.com/sdoc-server
|
||||
```
|
||||
|
||||
3. Start SeaDoc server server with the following command
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ services:
|
|||
- TIME_ZONE=${TIME_ZONE:-Etc/UTC}
|
||||
- JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty}
|
||||
- NON_ROOT=${NON_ROOT:-false}
|
||||
- SEAHUB_SERVICE_URL=${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}
|
||||
- SEAHUB_SERVICE_URL=${SEAFILE_SERVICE_URL:-http://seafile}
|
||||
labels:
|
||||
caddy: ${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}
|
||||
caddy.@ws.0_header: "Connection *Upgrade*"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ services:
|
|||
- TIME_ZONE=${TIME_ZONE:-Etc/UTC}
|
||||
- NON_ROOT=${NON_ROOT:-false}
|
||||
- JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty}
|
||||
- SEAHUB_SERVICE_URL=${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}
|
||||
- SEAHUB_SERVICE_URL=${SEAFILE_SERVICE_URL:-${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}}
|
||||
networks:
|
||||
- seafile-net
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue