This commit is contained in:
2024-07-28 18:24:40 +02:00
parent 72f30c8c22
commit 1cdb006509

View File

@@ -252,16 +252,18 @@
dozzle: dozzle:
container_name: dozzle container_name: dozzle
image: amir20/dozzle:latest image: amir20/dozzle:latest
environment:
- DOZZLE_MODE=swarm
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
deploy: deploy:
mode: global mode: global
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.dozzle-https.rule=Host(`{{.Node.Hostname}}.jingoh.private`)" - "traefik.http.routers.dozzle-https.rule=Host(`swarmpit.jingoh.private`)"
- "traefik.http.routers.dozzle-https.entrypoints=websecure" - "traefik.http.routers.dozzle-https.entrypoints=websecure"
- "traefik.http.routers.dozzle-https.service=dozzle" - "traefik.http.routers.dozzle-https.service=dozzle"
- "traefik.http.services.dozzle.loadbalancer.server.port=80" - "traefik.http.services.dozzle.loadbalancer.server.port=8080"
- "traefik.http.routers.dozzle-https.tls=true" - "traefik.http.routers.dozzle-https.tls=true"
- "traefik.http.routers.dozzle-https.middlewares=privatevpn" - "traefik.http.routers.dozzle-https.middlewares=privatevpn"
networks: networks: