homeserver/docker-compose/munin/docker-compose.yml.j2
mg a213f0b88b docker-compose: = --> : (#513)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #513
2023-04-20 14:50:33 +02:00

40 lines
1.1 KiB
Django/Jinja

version: '3'
services:
munin:
container_name: "munin-master-prod"
image: registry.mgrote.net/munin-server:master
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
CRONDELAY: 5
NODES: |
fileserver3.grote.lan:fileserver3.grote.lan
ansible2.grote.lan:ansible2.grote.lan
pve5.grote.lan:pve5.grote.lan
dokuwiki2.grote.lan:dokuwiki2.grote.lan
gitea.grote.lan:gitea.grote.lan
docker10.grote.lan:docker10.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
labels:
com.centurylinklabs.watchtower.enable: true
volumes:
db:
logs:
cache: