Skip to content
Snippets Groups Projects
Commit 233490d6 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Persists email folder. Fixes #20

parent a203082b
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ COPY install.sh install.sh
RUN chmod 755 /install.sh
VOLUME ["/var/spool/mail"]
VOLUME ["/var/spool/postfix/"]
EXPOSE 25
......
......@@ -19,6 +19,7 @@ ExecStart=/usr/bin/docker run \
--name %p \
-v /data/runtime/dev/log:/dev/log \
-v /data/runtime/postfix/:/data \
-v /data/runtime/postfix-spool/:/var/spool/postfix \
-p 25:25 \
pierreozoux/postfix
ExecReload=/usr/bin/docker restart %p
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment