config whoami
This commit is contained in:
parent
13c2685f6e
commit
4b260e06a7
1 changed files with 14 additions and 11 deletions
|
@ -30,17 +30,20 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
#whoami:
|
{% if whoami %}
|
||||||
# image: "traefik/whoami"
|
whoami:
|
||||||
#container_name: "simple-service"
|
image: "traefik/whoami"
|
||||||
#restart: always
|
container_name: "simple-service"
|
||||||
#labels:
|
restart: always
|
||||||
# - "traefik.enable=true"
|
labels:
|
||||||
#- "traefik.http.routers.whoami.rule=Host(`{{ inventory_hostname }}`)"
|
- "traefik.enable=true"
|
||||||
#- "traefik.http.routers.whoami.entrypoints=websecure"
|
- "traefik.http.routers.whoami.rule=Host(`{{ inventory_hostname }}`)"
|
||||||
#- "traefik.http.routers.whoami.tls.certresolver=myresolver"
|
- "traefik.http.routers.whoami.entrypoints=websecure"
|
||||||
#networks:
|
- "traefik.http.routers.whoami.tls.certresolver=myresolver"
|
||||||
# - proxy
|
networks:
|
||||||
|
- proxy
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|
Loading…
Reference in a new issue