From 9947bddd7a0a3c32ae446e759242a486277be911 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sat, 17 Nov 2018 13:27:17 +0100 Subject: [PATCH] Ensure mail uses a Docker volume --- README.md | 3 ++- docker-compose.yml | 28 ++++++++++++++++++++++++---- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 20a8afa31..666b4b4c9 100644 --- a/README.md +++ b/README.md @@ -269,7 +269,8 @@ Every single attachable container comes with many different versions. In order t ... - 4.0 + + diff --git a/docker-compose.yml b/docker-compose.yml index 02b77c328..8ae8feb96 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -175,7 +175,7 @@ services: - ${DEVILBOX_PATH}/log/php-fpm-${PHP_SERVER:-7.0}:/var/log/php:rw${MOUNT_OPTIONS} # Mount Mail directory - - ${DEVILBOX_PATH}/mail:/var/mail:rw${MOUNT_OPTIONS} + - devilbox-mail:/var/mail:rw${MOUNT_OPTIONS} # Mount DB Backup directory - ${DEVILBOX_PATH}/backups:/shared/backups:rw${MOUNT_OPTIONS} @@ -509,6 +509,11 @@ networks: # VOLUMES ################################################################################ volumes: + # ------------------------------------------------------------ + # Misc + # ------------------------------------------------------------ + devilbox-mail: + # ------------------------------------------------------------ # MySQL # ------------------------------------------------------------ @@ -531,24 +536,39 @@ volumes: devilbox-pgsql-9.0: devilbox-pgsql-9.1: devilbox-pgsql-9.2: + devilbox-pgsql-9.2-alpine: devilbox-pgsql-9.3: + devilbox-pgsql-9.3-alpine: devilbox-pgsql-9.4: + devilbox-pgsql-9.4-alpine: devilbox-pgsql-9.5: + devilbox-pgsql-9.5-alpine: devilbox-pgsql-9.6: + devilbox-pgsql-9.6-alpine: devilbox-pgsql-10.0: + devilbox-pgsql-10.0-alpine: devilbox-pgsql-10.1: + devilbox-pgsql-10.1-alpine: devilbox-pgsql-10.2: + devilbox-pgsql-10.2-alpine: devilbox-pgsql-10.3: + devilbox-pgsql-10.3-alpine: devilbox-pgsql-10.4: + devilbox-pgsql-10.4-alpine: devilbox-pgsql-10.5: + devilbox-pgsql-10.5-alpine: + devilbox-pgsql-10.6: + devilbox-pgsql-10.6-alpine: + devilbox-pgsql-11.0: + devilbox-pgsql-11.0-alpine: + devilbox-pgsql-11.1: + devilbox-pgsql-11.1-alpine: devilbox-pgsql-latest: + devilbox-pgsql-alpine: # ------------------------------------------------------------ # MongoDB # ------------------------------------------------------------ - devilbox-mongo-2.2: - devilbox-mongo-2.4: - devilbox-mongo-2.6: devilbox-mongo-2.8: devilbox-mongo-3.0: devilbox-mongo-3.2: