Files
traefik/whoami.yml
2025-07-05 15:05:44 -03:00

24 lines
712 B
YAML

services:
whoami:
image: traefik/whoami
container_name: whoami
restart: unless-stopped
networks:
- proxy
labels:
# Basic routing
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.app.entrypoints=websecure"
- "traefik.http.routers.app.rule=Host(`app.domain.xyz`)"
- "traefik.http.routers.app.tls=true"
- "traefik.http.routers.app.tls.certresolver=cloudflare"
- "traefik.http.routers.app.middlewares=secureHeaders"
- "traefik.http.routers.app.middlewares=crowdsec@file"
# For Argentina-only apps
- "traefik.http.routers.app.middlewares=ar-only@file"
networks:
proxy:
external: true