[SOGo] Declare /usr/lib/GNUstep/SOGo as volume

[Nginx] Mount vols from sogo-mailcow to access /usr/lib/GNUstep/SOGo
master
André 2018-09-07 16:40:37 +02:00
parent e5b830adea
commit 8a88514dfd
2 changed files with 5 additions and 1 deletions

View File

@ -49,4 +49,6 @@ COPY sogo-full.svg /usr/lib/GNUstep/SOGo/WebServerResources/img/sogo-full.svg
COPY acl.diff /acl.diff
CMD exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
VOLUME /usr/lib/GNUstep/SOGo/
RUN rm -rf /tmp/* /var/tmp/*

View File

@ -136,7 +136,7 @@ services:
- phpfpm
sogo-mailcow:
image: mailcow/sogo:1.35
image: mailcow/sogo:1.36
build: ./data/Dockerfiles/sogo
environment:
- DBNAME=${DBNAME}
@ -264,6 +264,8 @@ services:
- ./data/assets/ssl/:/etc/ssl/mail/:ro
- ./data/conf/nginx/:/etc/nginx/conf.d/:rw
- ./data/conf/rspamd/meta_exporter:/meta_exporter:ro
volumes_from:
- sogo-mailcow
ports:
- "${HTTPS_BIND:-0.0.0.0}:${HTTPS_PORT:-443}:${HTTPS_PORT:-443}"
- "${HTTP_BIND:-0.0.0.0}:${HTTP_PORT:-80}:${HTTP_PORT:-80}"