basic traefic works with tls

This commit is contained in:
venus
2026-03-31 00:46:09 -05:00
parent 1fbd44f1df
commit 7865c1093f
3 changed files with 22 additions and 10 deletions

View File

@@ -14,3 +14,12 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./letsencrypt:/letsencrypt"
- "./traefik.yml:/etc/traefik/traefik.yml:ro"
whoami:
image: traefik/whoami
container_name: whoami
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.riverrooks.dev`) || Host(`whoami.riverrooks.art`)"
- "traefik.http.routers.whoami.entrypoints=websecure"
- "traefik.http.routers.whoami.tls.certresolver=myresolver"