2024-03-29 20:54:14 +00:00
|
|
|
{# code: language=ansible-jinja #}
|
|
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
|
2024-03-28 14:02:24 +00:00
|
|
|
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"
|
2024-06-19 18:57:50 +00:00
|
|
|
- "DIUN_NOTIF_MATRIX_HOMESERVERURL=https://{{ services.matrix.domain }}"
|
|
|
|
- "DIUN_NOTIF_MATRIX_USER={{ services.diun.matrix_user }}"
|
|
|
|
- "DIUN_NOTIF_MATRIX_ROOMID={{ services.diun.matrix_room }}"
|
|
|
|
- "DIUN_NOTIF_MATRIX_PASSWORD={{ diun_secrets.matrix_password }}"
|
|
|
|
- "DIUN_NOTIF_MATRIX_MSGTYPE=text"
|
2024-03-28 14:02:24 +00:00
|
|
|
labels:
|
|
|
|
- "diun.enable=true"
|
|
|
|
restart: always
|