From 2aa16009088fed6332b048fd2a4342c57a84f7eb Mon Sep 17 00:00:00 2001 From: Michael Wyraz Date: Fri, 11 Oct 2019 08:45:58 +0200 Subject: [PATCH] Add postfix mailqueue to persistent storage on docker --- setup/flavors/compose/docker-compose.yml | 1 + setup/flavors/stack/docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/setup/flavors/compose/docker-compose.yml b/setup/flavors/compose/docker-compose.yml index a1d985e4..f8a428bd 100644 --- a/setup/flavors/compose/docker-compose.yml +++ b/setup/flavors/compose/docker-compose.yml @@ -73,6 +73,7 @@ services: restart: always env_file: {{ env }} volumes: + - "{{ root }}/mailqueue:/queue" - "{{ root }}/overrides:/overrides" depends_on: - front diff --git a/setup/flavors/stack/docker-compose.yml b/setup/flavors/stack/docker-compose.yml index e1382d20..6ae0f103 100644 --- a/setup/flavors/stack/docker-compose.yml +++ b/setup/flavors/stack/docker-compose.yml @@ -57,6 +57,7 @@ services: image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-{{ version }}} env_file: {{ env }} volumes: + - "{{ root }}/mailqueue:/queue" - "{{ root }}/overrides:/overrides" deploy: replicas: {{ smtp_replicas }}