added diun deployment
This commit is contained in:
parent
634fb9b85d
commit
7325916a03
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.env
|
||||
data
|
||||
docker-compose.override.yml
|
@ -1 +1,2 @@
|
||||
# Diun Deployment
|
||||
Put Diun's NOTIF hanlders in `docker-compose.override.yml`
|
||||
|
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
services:
|
||||
diun:
|
||||
image: crazymax/diun:${DIUN_VERSION}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=${DIUN_TIMEZONE}
|
||||
- LOG_LEVEL=${DIUN_LOG_LEVEL}
|
||||
- LOG_JSON=${DIUN_LOG_JSON}
|
||||
- DIUN_WATCH_WORKERS=${DIUN_WATCH_WORKERS}
|
||||
- DIUN_WATCH_SCHEDULE=${DIUN_WATCH_SCHEDULE}
|
||||
- DIUN_PROVIDERS_DOCKER=${DIUN_PROVIDERS_DOCKER}
|
||||
labels:
|
||||
- diun.enable=${DIUN_ENABLE}
|
||||
- diun.watch_repo=${DIUN_WATCHREPO}
|
||||
- diun.sort_tags=${DIUN_SORTALGO}
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
14
env.example
Normal file
14
env.example
Normal file
@ -0,0 +1,14 @@
|
||||
# Diun Configuration
|
||||
DIUN_VERSION=4.22.0
|
||||
DIUN_DATA=./data
|
||||
DIUN_TIMEZONE=Europe/London
|
||||
DIUN_LOG_LEVEL=info
|
||||
DIUN_LOG_JSON=false
|
||||
DIUN_WATCH_WORKERS=20
|
||||
DIUN_WATCH_SCHEDULE=0 */6 * * *
|
||||
DIUN_PROVIDERS_DOCKER=true
|
||||
|
||||
# Diun monitor Diun image
|
||||
DIUN_ENABLE=true
|
||||
DIUN_WATCHREPO=true
|
||||
DIUN_SORTALGO=semver
|
Loading…
Reference in New Issue
Block a user