emanuelegori bu gisti düzenledi . Düzenlemeye git
Değişiklik yok
emanuelegori bu gisti düzenledi . Düzenlemeye git
1 file changed, 19 insertions, 4 deletions
docker-compose.yml
| @@ -2,11 +2,26 @@ services: | |||
| 2 | 2 | diun: | |
| 3 | 3 | image: crazymax/diun:latest | |
| 4 | 4 | container_name: diun | |
| 5 | - | restart: unless-stopped | |
| 5 | + | command: serve | |
| 6 | + | security_opt: | |
| 7 | + | - no-new-privileges:true | |
| 6 | 8 | volumes: | |
| 7 | - | - "./diun.yml:/diun.yml:ro" | |
| 8 | - | - "/var/run/docker.sock:/var/run/docker.sock:ro" | |
| 9 | + | - ./data:/data | |
| 10 | + | - /var/run/docker.sock:/var/run/docker.sock:ro | |
| 9 | 11 | environment: | |
| 12 | + | - PUID=1000 | |
| 13 | + | - PGID=1000 | |
| 10 | 14 | - TZ=Europe/Rome | |
| 15 | + | - LOG_LEVEL=info | |
| 16 | + | - LOG_JSON=false | |
| 17 | + | - DIUN_WATCH_WORKERS=10 | |
| 11 | 18 | - DIUN_WATCH_SCHEDULE=0 */6 * * * | |
| 12 | - | - DIUN_PROVIDERS_DOCKER=true | |
| 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 | |
emanuelegori bu gisti düzenledi . Düzenlemeye git
1 file changed, 12 insertions
docker-compose.yml(dosya oluşturuldu)
| @@ -0,0 +1,12 @@ | |||
| 1 | + | services: | |
| 2 | + | diun: | |
| 3 | + | image: crazymax/diun:latest | |
| 4 | + | container_name: diun | |
| 5 | + | restart: unless-stopped | |
| 6 | + | volumes: | |
| 7 | + | - "./diun.yml:/diun.yml:ro" | |
| 8 | + | - "/var/run/docker.sock:/var/run/docker.sock:ro" | |
| 9 | + | environment: | |
| 10 | + | - TZ=Europe/Rome | |
| 11 | + | - DIUN_WATCH_SCHEDULE=0 */6 * * * | |
| 12 | + | - DIUN_PROVIDERS_DOCKER=true | |