This commit is contained in:
Mike McFetridge
2026-07-23 19:38:14 -04:00
parent 72272e4006
commit 84e1ead50c
283 changed files with 0 additions and 206 deletions
+25
View File
@@ -0,0 +1,25 @@
---
services:
whoami:
hostname: << container_hostname >>
image: traefik/whoami:v1.11.0
restart: << restart_policy >>
labels:
- traefik.enable=true
- traefik.docker.network=<< traefik_network >>
- traefik.http.services.whoami-web.loadbalancer.server.port=80
- traefik.http.routers.whoami-http.service=whoami-web
- traefik.http.routers.whoami-http.rule=Host(`<< traefik_host >>.<< traefik_domain >>`)
- traefik.http.routers.whoami-http.entrypoints=<< traefik_entrypoint >>
<%- if traefik_tls_enabled %>
- traefik.http.routers.whoami-https.rule=Host(`<< traefik_host >>.<< traefik_domain >>`)
- traefik.http.routers.whoami-https.entrypoints=<< traefik_tls_entrypoint >>
- traefik.http.routers.whoami-https.tls=true
- traefik.http.routers.whoami-https.tls.certresolver=<< traefik_tls_certresolver >>
<%- endif %>
networks:
- << traefik_network >>
networks:
<< traefik_network >>:
external: true