changed mailu mounting to volumes

This commit is contained in:
Kevin Veen-Birkenbach 2020-12-28 20:54:44 +01:00
parent cab7032bfa
commit 5e1a7119ac

View File

@ -7,7 +7,7 @@ services:
image: redis:alpine image: redis:alpine
restart: always restart: always
volumes: volumes:
- "/mailu/redis:/data" - "redis_data:/data"
database: database:
image: mariadb image: mariadb
restart: always restart: always
@ -45,8 +45,8 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "/mailu/data:/data" - "admin_data:/data"
- "/mailu/dkim:/dkim" - "dkim:/dkim"
depends_on: depends_on:
- front - front
imap: imap:
@ -54,7 +54,7 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "/mailu/mail:/mail" - "dovecot_mail:/mail"
- "/mailu/overrides:/overrides" - "/mailu/overrides:/overrides"
depends_on: depends_on:
- front - front
@ -74,8 +74,8 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "/mailu/filter:/var/lib/rspamd" - "filter:/var/lib/rspamd"
- "/mailu/dkim:/dkim" - "dkim:/dkim"
- "/mailu/overrides/rspamd:/etc/rspamd/override.d" - "/mailu/overrides/rspamd:/etc/rspamd/override.d"
depends_on: depends_on:
- front - front
@ -86,14 +86,14 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "/mailu/filter:/data" - "filter:/data"
webdav: webdav:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-1.8}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "/mailu/dav:/data" - "webdav_data:/data"
fetchmail: fetchmail:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-1.8}
@ -106,13 +106,20 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "/mailu/webmail:/data" - "webmail_data:/data"
depends_on: depends_on:
- imap - imap
volumes: volumes:
database: database:
smtp_queue: smtp_queue:
front_certs: front_certs:
admin_data:
webdav_data:
webmail_data:
filter:
dkim:
dovecot_mail:
redis_data:
networks: networks:
default: default:
driver: bridge driver: bridge