1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

Rollback #153 as it breaks storage volumes, closes #27 (#161)

Keeping tzdata pkg
This commit is contained in:
James Hillyerd
2020-06-28 11:00:51 -07:00
committed by GitHub
parent 2e0b7cc097
commit 001e9fec58
3 changed files with 25 additions and 32 deletions

View File

@@ -37,7 +37,7 @@ COPY etc/docker/defaults/start-inbucket.sh /
ENV INBUCKET_SMTP_DISCARDDOMAINS bitbucket.local
ENV INBUCKET_SMTP_TIMEOUT 30s
ENV INBUCKET_POP3_TIMEOUT 30s
ENV INBUCKET_WEB_GREETINGFILE /opt/inbucket/defaults/greeting.html
ENV INBUCKET_WEB_GREETINGFILE /config/greeting.html
ENV INBUCKET_WEB_COOKIEAUTHKEY secret-inbucket-session-cookie-key
ENV INBUCKET_WEB_UIDIR=ui
ENV INBUCKET_STORAGE_TYPE file
@@ -55,9 +55,5 @@ EXPOSE 2500 9000 1100
VOLUME /config
VOLUME /storage
RUN addgroup -g 1000 inbucket && adduser -G inbucket -u 1000 -D inbucket && chown -R inbucket:inbucket /opt/inbucket/ && chmod 774 /opt/inbucket/ -R && chown /start-inbucket.sh && chmod +x /start-inbucket.sh
USER inbucket
ENTRYPOINT ["/start-inbucket.sh"]
CMD ["-logjson"]