feat(docker_container): Ensure amavis data is a volume
The amavis data is required to be kept between containers. set '/var/lib/amavis' as a docker volume. MR !9
This commit is contained in:
@ -144,7 +144,7 @@ RUN chmod +x /docker-entrypoint.sh \
|
|||||||
|
|
||||||
|
|
||||||
# Setup data volumes
|
# Setup data volumes
|
||||||
VOLUME /srv/mail /certs /var/spool/postfix /var/spool/spamassassin /backup /var/log
|
VOLUME /srv/mail /certs /var/spool/postfix /var/spool/spamassassin /var/lib/amavis /backup /var/log
|
||||||
|
|
||||||
# Configure postfix
|
# Configure postfix
|
||||||
RUN postconf -e "maillog_file=/var/log/postfix.log" \
|
RUN postconf -e "maillog_file=/var/log/postfix.log" \
|
||||||
|
Reference in New Issue
Block a user