diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index a636181..e4c8a42 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ services: - "certs:/etc/certs" - "mail:/var/mail" - "postfix:/var/spool/postfix" + - "mlmmj:/var/spool/mlmmj" ports: - "25:25" - "465:465" @@ -45,12 +46,22 @@ services: LETSENCRYPT_HOST: "YOUR-DOMAIN.example" command: ["/usr/sbin/dovecot", "-F"] + mlmmj-maint: + image: "mailnode" + pull_policy: "never" + + restart: "always" + volumes: + - "mlmmj:/var/spool/mlmmj" + command: ["bash", "-c", "/usr/bin/mlmmj-maintd -d /var/spool/mlmmj && sleep infinity"] + volumes: certs: external: true name: "proxy-docker_certs" mail: postfix: + mlmmj: networks: nginx-proxy-network: |