infrastructure/ansible/roles/pve_docker/files/whoami/docker-compose.yml

20 lines
502 B
YAML

version: "2.3"
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`)
- 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