Add diun/docker-compose.yml
This commit is contained in:
34
diun/docker-compose.yml
Normal file
34
diun/docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
services:
|
||||||
|
diun:
|
||||||
|
image: crazymax/diun:4.30
|
||||||
|
container_name: diun
|
||||||
|
command: serve
|
||||||
|
volumes:
|
||||||
|
- "/media/gv0/docker/diun/data:/data"
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
environment:
|
||||||
|
- "TZ=Europe/London"
|
||||||
|
- "LOG_LEVEL=info"
|
||||||
|
- "LOG_JSON=false"
|
||||||
|
- "DIUN_WATCH_WORKERS=20"
|
||||||
|
- "DIUN_WATCH_SCHEDULE=0 */6 * * *"
|
||||||
|
- "DIUN_WATCH_JITTER=30s"
|
||||||
|
- "DIUN_PROVIDERS_SWARM=true"
|
||||||
|
- "DIUN_PROVIDERS_SWARM_WATCHBYDEFAULT=true"
|
||||||
|
|
||||||
|
- "DIUN_NOTIF_GOTIFY_ENDPOINT=http://192.168.1.4:8111"
|
||||||
|
- "DIUN_NOTIF_GOTIFY_TOKEN=AOwbQPBcifHa1Kg" # get your token from Gotify UI
|
||||||
|
- "DIUN_NOTIF_GOTIFY_PRIORITY=5"
|
||||||
|
- "DIUN_NOTIF_GOTIFY_TIMEOUT=10s"
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
placement:
|
||||||
|
constraints: [node.role == manager]
|
||||||
|
replicas: 1
|
||||||
|
networks:
|
||||||
|
- caddy_net
|
||||||
|
|
||||||
|
networks:
|
||||||
|
caddy_net:
|
||||||
|
external: true
|
||||||
|
|
||||||
Reference in New Issue
Block a user