removed docker volumes

This commit is contained in:
Kevin Veen-Birkenbach 2020-12-27 23:10:53 +01:00
parent 33eafcc197
commit dddb3fffc3

View File

@ -11,7 +11,7 @@ services:
image: redis:alpine image: redis:alpine
restart: always restart: always
volumes: volumes:
- "redis-data:/data" - "/mailu/redis:/data"
# Core services # Core services
front: front:
@ -31,16 +31,16 @@ services:
- "{{ ip4_address }}:143:143" - "{{ ip4_address }}:143:143"
- "{{ ip4_address }}:993:993" - "{{ ip4_address }}:993:993"
volumes: volumes:
- "nginx-certs:/certs" - "/mailu/certs:/certs"
- "nginx-overrides:/overrides" - "/mailu/overrides/nginx:/overrides"
admin: admin:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-1.7} image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-1.7}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "admin-data:/data" - "/mailu/data:/data"
- "admin-dkim:/dkim" - "/mailu/dkim:/dkim"
depends_on: depends_on:
- redis - redis
@ -49,8 +49,8 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "dovecot-mail:/mail" - "/mailu/mail:/mail"
- "dovecot-overrides:/overrides" - "/mailu/overrides:/overrides"
depends_on: depends_on:
- front - front
@ -59,7 +59,7 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "postfix-overrides:/overrides" - "/mailu/overrides:/overrides"
depends_on: depends_on:
- front - front
@ -68,9 +68,9 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "rspamd-filter:/var/lib/rspamd" - "/mailu/filter:/var/lib/rspamd"
- "rspamd-dkim:/dkim" - "/mailu/dkim:/dkim"
- "rspamd-overrides:/etc/rspamd/override.d" - "/mailu/overrides/rspamd:/etc/rspamd/override.d"
depends_on: depends_on:
- front - front
@ -80,14 +80,14 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "clamav-data:/data" - "/mailu/filter:/data"
webdav: webdav:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-1.7} image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-1.7}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "radicale-data:/data" - "/mailu/dav:/data"
fetchmail: fetchmail:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-1.7} image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-1.7}
@ -100,28 +100,14 @@ services:
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "roundcube-data:/data" - "/mailu/webmail:/data"
depends_on: depends_on:
- imap - imap
volumes:
redis-data:
nginx-certs:
nginx-overrides:
admin-data:
admin-dkim:
dovecot-mail:
dovecot-overrides:
postfix-overrides:
rspamd-filter:
rspamd-dkim:
rspamd-overrides:
clamav-data:
radicale-data:
roundcube-data:
networks: networks:
default: default:
driver: bridge driver: bridge
ipam: ipam:
driver: default driver: default
config: config:
- subnet: {{mailu_subnet}} - subnet: 192.168.203.0/24