diff --git a/manual/extension/setup_seadoc.md b/manual/extension/setup_seadoc.md index 4ee58c42..caee3e7f 100644 --- a/manual/extension/setup_seadoc.md +++ b/manual/extension/setup_seadoc.md @@ -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 diff --git a/manual/repo/docker/seadoc.yml b/manual/repo/docker/seadoc.yml index a64374bc..060365fc 100644 --- a/manual/repo/docker/seadoc.yml +++ b/manual/repo/docker/seadoc.yml @@ -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*" diff --git a/manual/repo/docker/seadoc/1.0/standalone/seadoc.yml b/manual/repo/docker/seadoc/1.0/standalone/seadoc.yml index b375f6a9..604de3bc 100644 --- a/manual/repo/docker/seadoc/1.0/standalone/seadoc.yml +++ b/manual/repo/docker/seadoc/1.0/standalone/seadoc.yml @@ -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