feat(service): add Diun service (#5113)
This commit is contained in:
38
public/svgs/diun.svg
Normal file
38
public/svgs/diun.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 18 KiB |
31
templates/compose/diun.yaml
Normal file
31
templates/compose/diun.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# documentation: https://crazymax.dev/diun/
|
||||||
|
# slogan: Docker Image Update Notifier is a CLI application to receive notifications when a Docker image is updated on a Docker registry.
|
||||||
|
# tags: docker, notifier, slack
|
||||||
|
# logo: svgs/diun.svg
|
||||||
|
|
||||||
|
|
||||||
|
services:
|
||||||
|
diun:
|
||||||
|
image: 'crazymax/diun:latest'
|
||||||
|
container_name: diun
|
||||||
|
command: serve
|
||||||
|
volumes:
|
||||||
|
- './data:/data'
|
||||||
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||||
|
environment:
|
||||||
|
- TZ=${TIME_ZONE:-Europe/Vienna}
|
||||||
|
- LOG_LEVEL=info
|
||||||
|
- LOG_JSON=false
|
||||||
|
- DIUN_WATCH_WORKERS=20
|
||||||
|
- DIUN_WATCH_SCHEDULE=${CRON_WATCH_SCHEDULE:- * */6 * * *}
|
||||||
|
- DIUN_WATCH_JITTER=30s
|
||||||
|
- DIUN_PROVIDERS_DOCKER=true
|
||||||
|
- DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true
|
||||||
|
#SLACK
|
||||||
|
- DIUN_NOTIF_SLACK_WEBHOOKURL=${WEB_HOOK_URL}
|
||||||
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "diun", "--version"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 20s
|
||||||
|
retries: 3
|
Reference in New Issue
Block a user