Files
homelab/whoami.yml
2026-06-27 21:07:05 -05:00

22 lines
740 B
YAML
Executable File

# whoami.yml works as a nice tester to check if the network is exposed
services:
whoami:
image: traefik/whoami
container_name: whoami-public
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.riverrooks.dev`) || Host(`whoami.riverrooks.art`)"
- "traefik.http.routers.whoami.entrypoints=websecure"
- "traefik.http.routers.whoami.tls.certresolver=basic"
- "traefik.http.routers.whoami-private.rule=Host(`whoami.dfnk`)"
- "traefik.http.routers.whoami-private.entrypoints=websecure"
- "traefik.http.routers.whoami-private.tls=true"
networks:
- traefik
networks:
traefik:
external: true