From e5b7b980a5a559978d633b33cdfacdbb9d80c29a Mon Sep 17 00:00:00 2001 From: tajniak81 <13187254+tajniak81@users.noreply.github.com> Date: Mon, 16 Nov 2026 16:45:08 +0100 Subject: [PATCH] Rename the media network to docwell_media in the other compose stacks The dev, prod, prod.s3 and prod.seaweedfs stacks now match the split SeaweedFS stack: the server and docwell-media services share an internal network named docwell_media. The media service keeps its name, so the server still reaches it at http://media:8090. Co-Authored-By: Claude Opus 5.5 --- Docker/docker-compose.prod.s3.yml | 6 +++--- Docker/docker-compose.prod.seaweedfs.yml | 6 +++--- Docker/docker-compose.prod.yml | 6 +++--- Docker/docker-compose.yml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Docker/docker-compose.prod.s3.yml b/Docker/docker-compose.prod.s3.yml index ab7ce32..d71fed4 100644 --- a/Docker/docker-compose.prod.s3.yml +++ b/Docker/docker-compose.prod.s3.yml @@ -138,7 +138,7 @@ services: DOCWELL_S3_SECRET: "${DOCWELL_S3_SECRET:?set DOCWELL_S3_SECRET in .env}" # true for SeaweedFS and MinIO, false for AWS S3 proper. DOCWELL_S3_FORCE_PATH_STYLE: "${DOCWELL_S3_FORCE_PATH_STYLE:-true}" - networks: [default, media] + networks: [default, docwell_media] volumes: # The search index only; rebuilt from the database when missing, so it # needs no backup. @@ -165,7 +165,7 @@ services: DOCWELL_MEDIA_TOKEN: "${DOCWELL_MEDIA_TOKEN:-}" # Recordings re-encoded at the same time; later ones wait. DOCWELL_MEDIA_JOBS: "${DOCWELL_MEDIA_JOBS:-2}" - networks: [media] + networks: [docwell_media] read_only: true cap_drop: [ALL] security_opt: ["no-new-privileges:true"] @@ -210,5 +210,5 @@ volumes: networks: default: - media: + docwell_media: internal: true diff --git a/Docker/docker-compose.prod.seaweedfs.yml b/Docker/docker-compose.prod.seaweedfs.yml index 17599f0..de92216 100644 --- a/Docker/docker-compose.prod.seaweedfs.yml +++ b/Docker/docker-compose.prod.seaweedfs.yml @@ -183,7 +183,7 @@ services: DOCWELL_S3_SECRET: "${DOCWELL_S3_SECRET:?set DOCWELL_S3_SECRET in .env}" # Path style: a self-hosted gateway has no per-bucket DNS names. DOCWELL_S3_FORCE_PATH_STYLE: "true" - networks: [default, media] + networks: [default, docwell_media] volumes: # The search index only; rebuilt from the database when missing, so it # needs no backup. @@ -210,7 +210,7 @@ services: DOCWELL_MEDIA_TOKEN: "${DOCWELL_MEDIA_TOKEN:-}" # Recordings re-encoded at the same time; later ones wait. DOCWELL_MEDIA_JOBS: "${DOCWELL_MEDIA_JOBS:-2}" - networks: [media] + networks: [docwell_media] read_only: true cap_drop: [ALL] security_opt: ["no-new-privileges:true"] @@ -256,5 +256,5 @@ volumes: networks: default: - media: + docwell_media: internal: true diff --git a/Docker/docker-compose.prod.yml b/Docker/docker-compose.prod.yml index 69c4bd8..28e1cbe 100644 --- a/Docker/docker-compose.prod.yml +++ b/Docker/docker-compose.prod.yml @@ -112,7 +112,7 @@ services: DOCWELL_MICROSOFT_CLIENT_ID: "${DOCWELL_MICROSOFT_CLIENT_ID:-}" DOCWELL_MICROSOFT_CLIENT_SECRET: "${DOCWELL_MICROSOFT_CLIENT_SECRET:-}" DOCWELL_MICROSOFT_TENANT: "${DOCWELL_MICROSOFT_TENANT:-common}" - networks: [default, media] + networks: [default, docwell_media] volumes: # The search index only; rebuilt from the database when missing, so it # needs no backup. @@ -139,7 +139,7 @@ services: DOCWELL_MEDIA_TOKEN: "${DOCWELL_MEDIA_TOKEN:-}" # Recordings re-encoded at the same time; later ones wait. DOCWELL_MEDIA_JOBS: "${DOCWELL_MEDIA_JOBS:-2}" - networks: [media] + networks: [docwell_media] read_only: true cap_drop: [ALL] security_opt: ["no-new-privileges:true"] @@ -184,5 +184,5 @@ volumes: networks: default: - media: + docwell_media: internal: true diff --git a/Docker/docker-compose.yml b/Docker/docker-compose.yml index 70c38ed..0a30193 100644 --- a/Docker/docker-compose.yml +++ b/Docker/docker-compose.yml @@ -64,7 +64,7 @@ services: DOCWELL_MICROSOFT_CLIENT_ID: ${DOCWELL_MICROSOFT_CLIENT_ID:-} DOCWELL_MICROSOFT_CLIENT_SECRET: ${DOCWELL_MICROSOFT_CLIENT_SECRET:-} DOCWELL_MICROSOFT_TENANT: ${DOCWELL_MICROSOFT_TENANT:-common} - networks: [default, media] + networks: [default, docwell_media] volumes: # The search index (rebuilt from the database when missing). - server_data:/data @@ -84,7 +84,7 @@ services: DOCWELL_MEDIA_TOKEN: ${DOCWELL_MEDIA_TOKEN:-} # Recordings re-encoded at the same time; later ones wait. DOCWELL_MEDIA_JOBS: ${DOCWELL_MEDIA_JOBS:-2} - networks: [media] + networks: [docwell_media] read_only: true cap_drop: [ALL] security_opt: ["no-new-privileges:true"] @@ -125,5 +125,5 @@ volumes: networks: default: - media: + docwell_media: internal: true