]> prime8.dev >> repos - p8d.git/commitdiff
Update docker mail server compose config
authorDamian Myrda <monkey.damianek@gmail.com>
Wed, 7 Aug 2024 16:33:51 +0000 (11:33 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Wed, 7 Aug 2024 16:33:51 +0000 (11:33 -0500)
compose.yml

index 4b332d5100d8f806e3b47f3d59b2508f793f671c..0839440973c2d6c81a683902fc87b468a7ca55d3 100644 (file)
@@ -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: