Environment_Monitoring/docker-stack-service.yml

39 lines
784 B
YAML

services:
dozzle:
image: ${IMAGE_DOZZLE:-amir20/dozzle:v10.6.6}
environment:
- DOZZLE_MODE=swarm
- DOZZLE_AUTH_PROVIDER=simple
- DOZZLE_NO_ANALYTICS=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
secrets:
- source: dozzle_users
target: /data/users.yml
mode: 0400
networks:
- dozzle
- iklimco-net
deploy:
mode: global
restart_policy:
condition: any
delay: 5s
update_config:
parallelism: 1
order: start-first
labels:
project: co.iklim
secrets:
dozzle_users:
external: true
name: ${DOZZLE_USERS_SECRET_NAME:-dozzle_users}
networks:
dozzle:
driver: overlay
attachable: true
iklimco-net:
external: true