This commit is contained in:
Kekskurse 2023-07-21 04:19:10 +02:00
parent 11f4b95c26
commit 5e521f5770
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -27,6 +27,8 @@ services:
- "./letsencrypt:/letsencrypt"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
restart: always
networks:
- proxy
whoami:
image: "traefik/whoami"
@ -36,4 +38,8 @@ services:
- "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`{{ inventory_hostname }}`)"
- "traefik.http.routers.whoami.entrypoints=websecure"
- "traefik.http.routers.whoami.tls.certresolver=myresolver"
- "traefik.http.routers.whoami.tls.certresolver=myresolver"
networks:
proxy:
name: proxy