Files
homelab-infra/whoami/docker-compose.yml
James Thompson 28aa6e28fe Wokring traefik
With whoami and gitea working (although I haven't rebuilt yet)
2026-03-23 05:59:53 +00:00

18 lines
448 B
YAML
Executable File

services:
whoami:
image: traefik/whoami
container_name: whoami
restart: unless-stopped
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.whoami.entrypoints=websecure"
- "traefik.http.routers.whoami.rule=Host(`whoami.${DOMAIN}`)"
- "traefik.http.routers.whoami.tls=true"
- "traefik.http.routers.whoami.tls.certresolver=letsencrypt"
networks:
web:
external: true