Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Picasoft
Technique
Dockerfiles
Commits
fd5782f2
Verified
Commit
fd5782f2
authored
Aug 23, 2021
by
Quentin Duchemin
Browse files
Share the postfix showq socket with exporter
parent
fc77a47b
Changes
1
Hide whitespace changes
Inline
Side-by-side
pica-mail/docker-compose.yml
View file @
fd5782f2
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment