Avoid Traefik port collisions in edge gateway CI

This commit is contained in:
Jeppe B
2026-04-23 23:52:01 +02:00
parent 39d4ba0284
commit 1c647bb78b
2 changed files with 10 additions and 4 deletions
+4 -4
View File
@@ -4,11 +4,11 @@ services:
image: traefik:2.11
container_name: traefik
ports:
- "80:80"
- "443:443"
- "4433:4433"
- "${TRAEFIK_WEB_PORT:-80}:80"
- "${TRAEFIK_WEBSECURE_PORT:-443}:443"
- "${TRAEFIK_WEBSECURE_STAGING_PORT:-4433}:4433"
# Prometheus metrics endpoint (local dev)
- "9100:9100"
- "${TRAEFIK_METRICS_PORT:-9100}:9100"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./services/traefik/traefik.yml:/etc/traefik/traefik.yml:ro