Adding diun (#208)
Closes #174 Reviewed-on: #208 Co-authored-by: Víðir Valberg Guðmundsson <valberg@orn.li> Co-committed-by: Víðir Valberg Guðmundsson <valberg@orn.li>
This commit is contained in:
parent
41116063a2
commit
92ca044d06
|
@ -211,6 +211,10 @@ services:
|
||||||
volume_folder: "{{ volume_root_folder }}/watchtower"
|
volume_folder: "{{ volume_root_folder }}/watchtower"
|
||||||
version: "1.5.3"
|
version: "1.5.3"
|
||||||
|
|
||||||
|
diun:
|
||||||
|
version: "4.27"
|
||||||
|
volume_folder: "{{ volume_root_folder }}/diun"
|
||||||
|
|
||||||
### Uptime monitoring ###
|
### Uptime monitoring ###
|
||||||
uptime_kuma:
|
uptime_kuma:
|
||||||
domain: "uptime.{{ base_domain }}"
|
domain: "uptime.{{ base_domain }}"
|
||||||
|
|
21
roles/docker/templates/compose-files/diun.yml.j2
Normal file
21
roles/docker/templates/compose-files/diun.yml.j2
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# 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
|
Loading…
Reference in a new issue