traefik/docker-compose-whoami.yml
2023-11-24 17:46:05 +01:00

19 lines
462 B
YAML

version: "1.0"
networks:
default:
name: "${TRAEFIK_NETWORK}"
external: true
services:
whoami:
image: "containous/whoami"
container_name: "${PROJECT_NAME}_whoami"
labels:
- "traefik.enable=true"
- "traefik.http.routers.${PROJECT_NAME}_whoami.entrypoints=websecure"
- "traefik.http.routers.${PROJECT_NAME}_whoami.rule=Host(`whoami.${PROJECT_URL}`)"
- "traefik.http.routers.${PROJECT_NAME}_whoami.tls=true"