refactor(git): parameterize Traefik Host() rule and MCP GITEA_HOST via GITEA_HOST variable
ci/woodpecker/push/woodpecker Pipeline was canceled
ci/woodpecker/push/woodpecker Pipeline was canceled
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user