Files
homelab/whoami.yml
2026-04-02 14:25:22 -05:00

30 lines
927 B
YAML

# 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"
networks:
- traefik
whoami-defenk:
image: traefik/whoami
container_name: whoami-vpn
restart: unless-stopped
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.whoami.rule=Host(`10.8.0.1`)"
# - "traefik.http.routers.whoami.entrypoints=websecure"
# # - "traefik.http.routers.whoami.tls.certresolver=basic"
networks:
- traefik
networks:
traefik:
external: true