tweaking, hardening

This commit is contained in:
Marco Ochse
2018-03-31 21:44:11 +00:00
parent 2f6a8014bc
commit 13c56c6ea1
8 changed files with 21 additions and 11 deletions

View File

@ -43,6 +43,6 @@ RUN apk -U upgrade && \
rm -rf /var/cache/apk/*
# Set workdir and start glastopf
USER mailoney
USER mailoney:mailoney
WORKDIR /opt/mailoney/
CMD ["/usr/bin/python","mailoney.py","-i","0.0.0.0","-p","2525","-s","mailserver","-t","schizo_open_relay"]

View File

@ -15,5 +15,6 @@ services:
ports:
- "25:2525"
image: "dtagdevsec/mailoney:1804"
read_only: true
volumes:
- /data/mailoney/log:/opt/mailoney/logs