diun
This commit is contained in:
parent
8d2a0f600b
commit
71956feab1
1 changed files with 42 additions and 0 deletions
42
diun.yaml
Normal file
42
diun.yaml
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
services:
|
||||||
|
diun:
|
||||||
|
image: crazymax/diun:latest
|
||||||
|
container_name: diun
|
||||||
|
user: "1001:998"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
# - ./data:/data
|
||||||
|
- /data/nfs/Baxter/Docker/diun:/config:/data
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
environment:
|
||||||
|
- TZ=America/Chicago
|
||||||
|
- LOG_LEVEL=info
|
||||||
|
- LOG_JSON=false
|
||||||
|
- DIUN_WATCH_WORKERS=20
|
||||||
|
- DIUN_WATCH_SCHEDULE=0 */6 * * *
|
||||||
|
- DIUN_PROVIDERS_DOCKER=true
|
||||||
|
- DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true
|
||||||
|
- DIUN_NOTIF_NTFY_ENDPOINT=https://ntfy.netgrimoire.com
|
||||||
|
- DIUN_NOTIF_NTFY_TOPIC=diun
|
||||||
|
- DIUN_NOTIF_NTFY_PRIORITY=default
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 10s
|
||||||
|
max_attempts: 5
|
||||||
|
window: 60s
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
replicas: 1
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == manager
|
||||||
|
|
||||||
|
networks:
|
||||||
|
netgrimoire:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue