docker-compose.yml
· 1.2 KiB · YAML
Raw
services:
diun:
image: crazymax/diun:latest
container_name: diun
command: serve
security_opt:
- no-new-privileges:true
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Rome
- LOG_LEVEL=info
- LOG_JSON=false
- DIUN_WATCH_WORKERS=10
- DIUN_WATCH_SCHEDULE=0 */6 * * *
- DIUN_WATCH_JITTER=30s
- DIUN_PROVIDERS_DOCKER=true
- DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true
#- DIUN_NOTIF_NTFY_ENDPOINT=https://ntfy.emanuelegori.uno
#- DIUN_NOTIF_NTFY_TOPIC=diun-notifications
#- DIUN_NOTIF_NTFY_TOKEN=xxxxxxxxxxxxxx
#- DIUN_NOTIF_NTFY_TEMPLATETITLE={{ .Entry.Image }} {{ if (eq .Entry.Status "new") }}is available{{ else }}has been updated{{ end }}
#- DIUN_NOTIF_NTFY_TEMPLATEBODY=Docker tag {{ if .Entry.Image.HubLink }}[**{{ .Entry.Image }}**]({{ .Entry.Image.HubLink }}){{ else }}**{{ .Entry.Image }}**{{ end }} which you subscribed to through {{ .Entry.Provider }} provider {{ if (eq .Entry.Status "new") }}is available{{ else }}has been updated{{ end }} on {{ .Entry.Image.Domain }} registry (triggered by {{ .Meta.Hostname }} host).
restart: unless-stopped
| 1 | services: |
| 2 | diun: |
| 3 | image: crazymax/diun:latest |
| 4 | container_name: diun |
| 5 | command: serve |
| 6 | security_opt: |
| 7 | - no-new-privileges:true |
| 8 | volumes: |
| 9 | - ./data:/data |
| 10 | - /var/run/docker.sock:/var/run/docker.sock:ro |
| 11 | environment: |
| 12 | - PUID=1000 |
| 13 | - PGID=1000 |
| 14 | - TZ=Europe/Rome |
| 15 | - LOG_LEVEL=info |
| 16 | - LOG_JSON=false |
| 17 | - DIUN_WATCH_WORKERS=10 |
| 18 | - DIUN_WATCH_SCHEDULE=0 */6 * * * |
| 19 | - DIUN_WATCH_JITTER=30s |
| 20 | - DIUN_PROVIDERS_DOCKER=true |
| 21 | - DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true |
| 22 | #- DIUN_NOTIF_NTFY_ENDPOINT=https://ntfy.emanuelegori.uno |
| 23 | #- DIUN_NOTIF_NTFY_TOPIC=diun-notifications |
| 24 | #- DIUN_NOTIF_NTFY_TOKEN=xxxxxxxxxxxxxx |
| 25 | #- DIUN_NOTIF_NTFY_TEMPLATETITLE={{ .Entry.Image }} {{ if (eq .Entry.Status "new") }}is available{{ else }}has been updated{{ end }} |
| 26 | #- DIUN_NOTIF_NTFY_TEMPLATEBODY=Docker tag {{ if .Entry.Image.HubLink }}[**{{ .Entry.Image }}**]({{ .Entry.Image.HubLink }}){{ else }}**{{ .Entry.Image }}**{{ end }} which you subscribed to through {{ .Entry.Provider }} provider {{ if (eq .Entry.Status "new") }}is available{{ else }}has been updated{{ end }} on {{ .Entry.Image.Domain }} registry (triggered by {{ .Meta.Hostname }} host). |
| 27 | restart: unless-stopped |
| 28 |