Verified Commit fd5782f2 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Share the postfix showq socket with exporter

parent fc77a47b
......@@ -9,6 +9,8 @@ networks:
volumes:
mail-mda-maildir:
name: mail-mda-maildir
mail-mta-spool:
name: mail-mta-spool
services:
mail-mda:
......@@ -45,6 +47,8 @@ services:
volumes:
- /var/log/mail.log:/var/log/mail.log
- /var/log/opendmarc.log:/var/log/opendmarc.log
# For sharing with exporter
- mail-mta-spool:/var/spool/postfix
#doit contenir selecteur.domaine.rsa
- /DATA/docker/mail/opendkim/:/etc/dkimkeys/
- /DATA/docker/certs/mail.picasoft.net/:/certs-ssl/:ro
......@@ -97,6 +101,7 @@ services:
# By default, postfix-exporter reads from /var/log/mail.log, so no need to configure
- /var/log/mail.log:/var/log/mail.log
- /etc/localtime:/etc/localtime:ro
- mail-mta-spool:/var/spool/postfix:ro
command:
# Listen on all interfaces
- "--web.listen-address=0.0.0.0:9154"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment