2023-05-02 18:38:04 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
whoami:
|
|
|
|
image: "containous/whoami"
|
2023-09-25 12:49:21 +02:00
|
|
|
restart: unless-stopped
|
2023-05-02 18:38:04 +02:00
|
|
|
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"
|
2023-09-24 17:20:34 +02:00
|
|
|
- "traefik.http.routers.whoami-secure.middlewares=private-network@file"
|
2023-05-02 18:38:04 +02:00
|
|
|
- "traefik.docker.network=proxy"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|