Jake Howard
f88d224168
This works using public DNS, so doesn't need Tailscale's magic DNS to override my local.
19 lines
502 B
YAML
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
|