infrastructure/ansible/roles/pve_docker/files/whoami/docker-compose.yml
Jake Howard 4e07e1c8dc
All checks were successful
/ terraform (push) Successful in 1m1s
/ ansible (push) Successful in 1m31s
Add shorter domain for whoami
2024-09-22 15:01:55 +01:00

17 lines
510 B
YAML

services:
whoami:
image: traefik/whoami:latest
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.whoami.rule=Host(`whoami.theorangeone.net`) || Host(`whoami-cdn.theorangeone.net`) || Host(`who.0rng.one`)
- traefik.http.routers.whoami-private.rule=Host(`whoami-private.theorangeone.net`)
- traefik.http.routers.whoami-private.middlewares=tailscale-only@file
networks:
- default
- traefik
networks:
traefik:
external: true