refactor(git): parameterize Traefik Host() rule and MCP GITEA_HOST via GITEA_HOST variable
ci/woodpecker/push/woodpecker Pipeline was canceled

This commit is contained in:
2026-06-25 22:58:01 -07:00
parent bb25482df0
commit 4fe91f001c
+2 -2
View File
@@ -19,7 +19,7 @@ services:
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.gitea.entrypoints=websecure - traefik.http.routers.gitea.entrypoints=websecure
- "traefik.http.routers.gitea.rule=Host(`git.bryanmail.net`)" - "traefik.http.routers.gitea.rule=Host(`${GITEA_HOST}`)"
- traefik.http.routers.gitea.tls=true - traefik.http.routers.gitea.tls=true
- traefik.http.routers.gitea.tls.certresolver=letsencrypt - traefik.http.routers.gitea.tls.certresolver=letsencrypt
- traefik.docker.network=traefik_backend - traefik.docker.network=traefik_backend
@@ -45,7 +45,7 @@ services:
command: ["/app/gitea-mcp", "-t", "http", "--port", "8080"] command: ["/app/gitea-mcp", "-t", "http", "--port", "8080"]
environment: environment:
- GITEA_ACCESS_TOKEN=${GITEA_MCP_ACCESS_TOKEN} - GITEA_ACCESS_TOKEN=${GITEA_MCP_ACCESS_TOKEN}
- GITEA_HOST=${GITEA_MCP_HOST} - GITEA_HOST=https://${GITEA_HOST}
networks: networks:
- traefik_backend - traefik_backend
deploy: deploy: