homeserver/docker-compose/munin/docker-compose.yml.j2
mg dec19afaeb k3s: Single-Node-Cluster (#439)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #439
2022-11-29 16:19:15 +01:00

43 lines
1.2 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=
fileserver3.grote.lan:fileserver3.grote.lan
acng2.grote.lan:acng2.grote.lan
ansible2.grote.lan:ansible2.grote.lan
pve5.grote.lan:pve5.grote.lan
k3s-nfs2.grote.lan:k3s-nfs2.grote.lan
dokuwiki2.grote.lan:dokuwiki2.grote.lan
k3s1.grote.lan:k3s1.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: