sadf
This commit is contained in:
parent
5ea60b185b
commit
4376b72240
1 changed files with 14 additions and 15 deletions
|
|
@ -1,34 +1,33 @@
|
||||||
|
# Run with docker stack deploy -c diun.yaml diun
|
||||||
services:
|
services:
|
||||||
diun:
|
diun:
|
||||||
image: crazymax/diun:latest
|
image: crazymax/diun:latest
|
||||||
container_name: diun
|
|
||||||
user: "1964:1964"
|
user: "1964:1964"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# - ./data:/data
|
|
||||||
- /data/nfs/znas/Docker/diun:/data
|
- /data/nfs/znas/Docker/diun:/data
|
||||||
networks:
|
networks:
|
||||||
- netgrimoire
|
- netgrimoire
|
||||||
environment:
|
environment:
|
||||||
- TZ=America/Chicago
|
TZ: America/Chicago
|
||||||
- DIUN_WATCH_WORKERS=20
|
DIUN_WATCH_WORKERS: "20"
|
||||||
- DIUN_WATCH_SCHEDULE=0 */6 * * *
|
DIUN_WATCH_SCHEDULE: "0 */6 * * *"
|
||||||
- DIUN_PROVIDERS_DOCKER=true
|
DIUN_PROVIDERS_DOCKER: "true"
|
||||||
- DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true
|
DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT: "true"
|
||||||
- DIUN_NOTIF_NTFY_ENDPOINT=https://ntfy.netgrimoire.com
|
DIUN_NOTIF_NTFY_ENDPOINT: https://ntfy.netgrimoire.com
|
||||||
- DIUN_NOTIF_NTFY_TOPIC=diun
|
DIUN_NOTIF_NTFY_TOPIC: netgrimoire-diun
|
||||||
# - DIUN_NOTIF_NTFY_PRIORITY=default
|
DIUN_NOTIF_NTFY_PRIORITY: default
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == manager
|
- node.role == manager
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
delay: 5s
|
||||||
labels:
|
labels:
|
||||||
|
# --- DIUN ---
|
||||||
diun.enable: "true"
|
diun.enable: "true"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
netgrimoire:
|
netgrimoire:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue