From 82b6a9de95848bddd49f53a6a1a4e8dd3c02bb4c Mon Sep 17 00:00:00 2001 From: S Date: Mon, 2 Mar 2026 10:39:31 -0500 Subject: [PATCH] fix: update Docker Compose template to include Gitea network name variable --- templates/docker-compose-gitea.yml.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/docker-compose-gitea.yml.tpl b/templates/docker-compose-gitea.yml.tpl index 6d6b230..0c24289 100644 --- a/templates/docker-compose-gitea.yml.tpl +++ b/templates/docker-compose-gitea.yml.tpl @@ -1,5 +1,5 @@ # Gitea Docker Compose — rendered by phase1_gitea_unraid.sh and phase2_gitea_fedora.sh -# Variables: GITEA_VERSION, DATA_PATH, GITEA_CONTAINER_IP +# Variables: GITEA_VERSION, DATA_PATH, GITEA_CONTAINER_IP, GITEA_NETWORK_NAME # DATA_PATH is host-specific (UNRAID_GITEA_DATA_PATH or FEDORA_GITEA_DATA_PATH) # DB_SERVICE block is stripped for sqlite3, kept for mysql/postgres/mssql. @@ -21,7 +21,7 @@ ${DB_ENV_VARS} timeout: 5s retries: 5 networks: - gitea_net: + ${GITEA_NETWORK_NAME}: ipv4_address: ${DB_CONTAINER_IP} # DB_SERVICE_END @@ -43,7 +43,7 @@ ${DB_ENV_VARS} - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro networks: - gitea_net: + ${GITEA_NETWORK_NAME}: ipv4_address: ${GITEA_CONTAINER_IP} healthcheck: test: ["CMD", "curl", "-sf", "http://localhost:3000/api/v1/version"] @@ -53,5 +53,5 @@ ${DB_ENV_VARS} start_period: 30s networks: - gitea_net: + ${GITEA_NETWORK_NAME}: external: true