fix: update Caddy Docker Compose template to use variable for Gitea network name
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Caddy Docker Compose — rendered by phase8_cutover.sh
|
||||
# Caddy with Cloudflare DNS-01 support for wildcard TLS.
|
||||
# CF_API_TOKEN env var is only needed when TLS_MODE=cloudflare.
|
||||
# Variables: CADDY_DATA_PATH, CADDY_CONTAINER_IP, CADDY_ENV_VARS,
|
||||
# CADDY_EXTRA_VOLUMES, GITEA_NETWORK_NAME
|
||||
|
||||
version: "3"
|
||||
|
||||
@@ -17,9 +19,9 @@ ${CADDY_ENV_VARS}
|
||||
- ${CADDY_DATA_PATH}/config:/config
|
||||
${CADDY_EXTRA_VOLUMES}
|
||||
networks:
|
||||
gitea_net:
|
||||
${GITEA_NETWORK_NAME}:
|
||||
ipv4_address: ${CADDY_CONTAINER_IP}
|
||||
|
||||
networks:
|
||||
gitea_net:
|
||||
${GITEA_NETWORK_NAME}:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user