forked from data.coop/ansible
21 lines
528 B
Plaintext
21 lines
528 B
Plaintext
|
# vim: ft=yaml.ansible
|
||
|
---
|
||
|
version: "3.5"
|
||
|
|
||
|
services:
|
||
|
diun:
|
||
|
image: "ghcr.io/crazy-max/diun:{{ services.diun.version }}"
|
||
|
command: serve
|
||
|
volumes:
|
||
|
- "./data:/data"
|
||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||
|
environment:
|
||
|
- "TZ=Europe/Paris"
|
||
|
- "DIUN_WATCH_WORKERS=20"
|
||
|
- "DIUN_WATCH_SCHEDULE=0 */6 * * *"
|
||
|
- "DIUN_WATCH_JITTER=30s"
|
||
|
- "DIUN_PROVIDERS_DOCKER=true"
|
||
|
- "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true"
|
||
|
labels:
|
||
|
- "diun.enable=true"
|
||
|
restart: always
|