Add postfix mailqueue to persistent storage on docker

master
Michael Wyraz 5 years ago
parent b625b1eaea
commit 2aa1600908

@ -73,6 +73,7 @@ services:
restart: always restart: always
env_file: {{ env }} env_file: {{ env }}
volumes: volumes:
- "{{ root }}/mailqueue:/queue"
- "{{ root }}/overrides:/overrides" - "{{ root }}/overrides:/overrides"
depends_on: depends_on:
- front - front

@ -57,6 +57,7 @@ services:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-{{ version }}} image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-{{ version }}}
env_file: {{ env }} env_file: {{ env }}
volumes: volumes:
- "{{ root }}/mailqueue:/queue"
- "{{ root }}/overrides:/overrides" - "{{ root }}/overrides:/overrides"
deploy: deploy:
replicas: {{ smtp_replicas }} replicas: {{ smtp_replicas }}

Loading…
Cancel
Save