From b4dcac6c3a35f1b6e86d23ed4e1c9c7538848de8 Mon Sep 17 00:00:00 2001 From: Junxiang Huang Date: Sat, 5 Jul 2025 14:32:58 +0800 Subject: [PATCH] seadoc use inner network when deploy with seafile --- manual/extension/setup_seadoc.md | 1 - manual/repo/docker/seadoc.yml | 2 +- manual/repo/docker/seadoc/1.0/standalone/seadoc.yml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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