infrastructure/ansible/roles/pve_docker/files/whoami/docker-compose.yml
Jake Howard f88d224168
Some checks failed
/ terraform (push) Failing after 41s
/ ansible (push) Successful in 1m41s
Allow only exposing services over Tailscale
This works using public DNS, so doesn't need Tailscale's magic DNS to override my local.
2024-03-07 22:30:10 +00:00

19 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