From c81aa67dfa9c8d01cb9d55a7bd8c216518d74f98 Mon Sep 17 00:00:00 2001 From: Dimitri Huisman Date: Wed, 10 Nov 2021 13:08:33 +0000 Subject: [PATCH] Use a better location for storing the fetchmail data. --- setup/flavors/compose/docker-compose.yml | 2 +- setup/flavors/stack/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/flavors/compose/docker-compose.yml b/setup/flavors/compose/docker-compose.yml index 5cdd6129..18a881b8 100644 --- a/setup/flavors/compose/docker-compose.yml +++ b/setup/flavors/compose/docker-compose.yml @@ -130,7 +130,7 @@ services: restart: always env_file: {{ env }} volumes: - - "{{ root }}/fetchmail:/data" + - "{{ root }}/data/fetchmail:/data" {% if resolver_enabled %} depends_on: - resolver diff --git a/setup/flavors/stack/docker-compose.yml b/setup/flavors/stack/docker-compose.yml index ae4f0022..0c744d7e 100644 --- a/setup/flavors/stack/docker-compose.yml +++ b/setup/flavors/stack/docker-compose.yml @@ -110,7 +110,7 @@ services: image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-{{ version }}} env_file: {{ env }} volumes: - - "{{ root }}/fetchmail:/data" + - "{{ root }}/data/fetchmail:/data" deploy: replicas: 1 healthcheck: