homeserver/docker-compose/munin/docker-compose.yml.j2
mg 1de9686b91 move apt-cacher-ng to docker (#509)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #509
2023-04-18 15:39:43 +02:00

40 lines
1.1 KiB
Django/Jinja

version: '3'
services:
munin:
container_name: "munin-master-prod"
image: quotengrote/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: