From 38a17215298dd82d5af967579a0fb4300df762a8 Mon Sep 17 00:00:00 2001 From: Damian Myrda Date: Wed, 7 Aug 2024 11:33:51 -0500 Subject: [PATCH] Update docker mail server compose config --- compose.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/compose.yml b/compose.yml index 4b332d5..0839440 100644 --- a/compose.yml +++ b/compose.yml @@ -23,10 +23,10 @@ services: - "993:993" # IMAP4 (implicit TLS) volumes: - /etc/localtime:/etc/localtime/:ro - - mail:/data/:/var/mail/ - - mail:/state/:/var/mail-state/ - - mail:/logs/:/var/log/mail/ - - mail:/config/:/tmp/docker-mailserver/ + - ./docker-data/dms/mail-data/:/var/mail/ + - ./docker-data/dms/mail-state/:/var/mail-state/ + - ./docker-data/dms/mail-logs/:/var/log/mail/ + - ./docker-data/dms/config/:/tmp/docker-mailserver/ - /etc/letsencrypt/:/etc/letsencrypt/:ro cap_add: - NET_ADMIN @@ -36,6 +36,3 @@ services: retries: 0 restart: always stop_grace_period: 1m - -volumes: - mail: -- 2.43.4