migrate
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user