homeserver/docker-compose/munin/docker-compose.yml.j2
mg 154fc0ef58 neuer Backup-Server (pbs) (#538)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #538
2023-06-23 16:04:19 +02:00

41 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
pbs.grote.lan:192.168.2.239
# 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: