21 lines
617 B
Django/Jinja
21 lines
617 B
Django/Jinja
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"
|
|
- "traefik.http.routers.whoami-secure.rule=Host(`whoami.{{ server.domain }}`)"
|
|
- "traefik.http.routers.whoami-secure.tls=true"
|
|
- "traefik.http.routers.whoami-secure.tls.certresolver=sslResolver"
|
|
- "traefik.http.routers.whoami-secure.middlewares=private-network@http"
|
|
- "traefik.docker.network=proxy"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|