Begin migration to v2 Step 2
This commit is contained in:
parent
b91292576f
commit
a7140e5a84
37 changed files with 19 additions and 74 deletions
24
roles/whoami/templates/docker-compose.yml
Normal file
24
roles/whoami/templates/docker-compose.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
services:
|
||||
whoami:
|
||||
image: "containous/whoami"
|
||||
restart: unless-stopped
|
||||
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@file"
|
||||
- "traefik.docker.network=proxy"
|
||||
logging:
|
||||
driver: loki
|
||||
options:
|
||||
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||
mode: non-blocking
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
Loading…
Add table
Add a link
Reference in a new issue