homeserver/docker-compose/munin/docker-compose.yml.j2

41 lines
1.1 KiB
Django/Jinja

version: '3'
services:
munin:
container_name: "munin-master-prod"
image: quotengrote/munin-server
restart: always
environment:
- MAILCONTACT=michael.grote@posteo.de
- MAILSERVER=smtp.strato.de
- MAILPORT=587
- MAILUSER=info@mgrote.net
- MAILPASSWORD={{ lookup('keepass', 'postfix_absender_passwort', 'password') }}
- MAILFROM=info@mgrote.net
- MAILNAME=Munin-Prod
- MAILDOMAIN=mgrote.net
- TZ=Europe/Berlin
- DISABLELOCALNODE=yes
- CRONDELAY=5
- 'NODES=
fileserver2.grote.lan:fileserver2.grote.lan
acng.grote.lan:acng.grote.lan
ansible2.grote.lan:ansible2.grote.lan
pve2.grote.lan:pve2.grote.lan
dokuwiki2.grote.lan:dokuwiki2.grote.lan
gitea.grote.lan:gitea.grote.lan
docker10.grote.lan:docker10.grote.lan
dnsmasq.grote.lan:dnsmasq.grote.lan'
# z.B.
# computer-test.grote.lan.test:192.68.2.4
# computer.grote.lan:computer.grote.lan
volumes:
- db:/var/lib/munin
- logs:/var/log/munin
- cache:/var/cache/munin
ports:
- 1234:80
volumes:
db:
logs:
cache: