All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (push) Successful in 3s
Remote Deployment Pipeline / Create remote directory (push) Successful in 9s
Remote Deployment Pipeline / Cleanup MR environment (push) Has been skipped
Remote Deployment Pipeline / Sync repository files (push) Successful in 35s
Remote Deployment Pipeline / Run docker-compose remotely (push) Successful in 6s
32 lines
766 B
YAML
32 lines
766 B
YAML
services:
|
|
traefik:
|
|
image: "traefik:v3.4"
|
|
# container_name: "traefik"
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
networks:
|
|
- proxy
|
|
command:
|
|
- "--providers.docker=true"
|
|
- "--providers.docker.exposedbydefault=false"
|
|
- "--providers.docker.network=proxy"
|
|
- "--entryPoints.web.address=:81"
|
|
ports:
|
|
- "81:81"
|
|
- "8080:8080"
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
|
|
whoami:
|
|
image: "traefik/whoami"
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"
|
|
- "traefik.http.routers.whoami.entrypoints=web"
|
|
|
|
networks:
|
|
proxy: |