1
0
Fork 0
myserver-configuration/roles/whoami/templates/docker-compose.yml.j2

23 lines
672 B
Text
Raw Normal View History

2023-05-02 18:38:04 +02:00
version: '3'
services:
whoami:
image: "containous/whoami"
restart: always
container_name: "whoami"
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.whoami-secure.entrypoints=https"
2023-05-20 16:06:45 +02:00
- "traefik.http.routers.whoami-secure.rule=Host(`whoami.{{ server.domain }}`)"
2023-05-02 18:38:04 +02:00
- "traefik.http.routers.whoami-secure.tls=true"
- "traefik.http.routers.whoami-secure.tls.certresolver=sslResolver"
# - "traefik.http.routers.whoami-secure.service=whoami"
# - "traefik.http.services.whoami.loadbalancer.server.port=9002"
- "traefik.docker.network=proxy"
networks:
proxy:
external: true