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

25 lines
821 B
YAML
Raw Normal View History

2023-05-02 18:38:04 +02:00
services:
whoami:
image: "containous/whoami"
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"
- "traefik.http.routers.whoami-secure.middlewares=private-network@file"
2023-05-02 18:38:04 +02:00
- "traefik.docker.network=proxy"
2023-09-25 13:59:43 +02:00
logging:
driver: loki
options:
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
mode: non-blocking
2023-05-02 18:38:04 +02:00
networks:
proxy:
external: true