Changed network for test
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (pull_request) Successful in 2s
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 17s
Remote Deployment Pipeline / Run docker-compose remotely (pull_request) Successful in 12s

This commit is contained in:
2025-11-11 10:11:03 +01:00
parent 485b6e2122
commit f7a69335d0

View File

@@ -6,11 +6,11 @@ services:
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
networks: networks:
- proxy - testnetwork
command: command:
- "--providers.docker=true" - "--providers.docker=true"
- "--providers.docker.exposedbydefault=false" - "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=proxy" - "--providers.docker.network=testnetwork"
- "--entryPoints.test.address=:80" - "--entryPoints.test.address=:80"
ports: ports:
- "80:80" - "80:80"
@@ -22,7 +22,7 @@ services:
image: "traefik/whoami" image: "traefik/whoami"
restart: unless-stopped restart: unless-stopped
networks: networks:
- proxy - testnetwork
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)" - "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"
@@ -31,10 +31,10 @@ services:
image: ghcr.io/kljensen/hello-world-http:latest image: ghcr.io/kljensen/hello-world-http:latest
restart: unless-stopped restart: unless-stopped
networks: networks:
- proxy - testnetwork
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.test.rule=Host(`test.docker.localhost`)" - "traefik.http.routers.test.rule=Host(`test.docker.localhost`)"
- "traefik.http.routers.test.entrypoints=test" - "traefik.http.routers.test.entrypoints=test"
networks: networks:
proxy: testnetwork: