Prod to use envs
Some checks failed
Remote Deployment Pipeline / Prepare deployment vars (pull_request) Successful in 3s
Remote Deployment Pipeline / Create remote directory (pull_request) Successful in 8s
Remote Deployment Pipeline / Cleanup MR environment (pull_request) Has been skipped
Remote Deployment Pipeline / Sync repository files (pull_request) Successful in 18s
Remote Deployment Pipeline / Run docker-compose remotely (pull_request) Failing after 7s

This commit is contained in:
2025-11-11 10:29:30 +01:00
parent 0c0ccda1ec
commit affd8b63cf

View File

@@ -11,6 +11,7 @@ services:
- "--providers.docker=true" - "--providers.docker=true"
- "--providers.docker.exposedbydefault=false" - "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=proxy" - "--providers.docker.network=proxy"
- "--providers.docker.constraints=Label(`env`, `prod`)"
- "--entryPoints.web.address=:81" - "--entryPoints.web.address=:81"
ports: ports:
- "81:81" - "81:81"
@@ -24,6 +25,7 @@ services:
networks: networks:
- proxy - proxy
labels: labels:
- "env=prod"
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)" - "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"
- "traefik.http.routers.whoami.entrypoints=web" - "traefik.http.routers.whoami.entrypoints=web"