added volumes for advanced site customization and backups

This commit is contained in:
Simon Schön 2022-06-06 19:40:49 +02:00
parent bdb244b8d3
commit 11c3484c97

View File

@ -40,8 +40,10 @@ RUN cd meshcentral/translate && node translate.js extractall
EXPOSE 80 443 EXPOSE 80 443
#volumes # volumes
VOLUME /opt/meshcentral/meshcentral-data VOLUME /opt/meshcentral/meshcentral-data
VOLUME /opt/meshcentral/meshcentral-files VOLUME /opt/meshcentral/meshcentral-files
VOLUME /opt/meshcentral/meshcentral-web
VOLUME /opt/meshcentral/meshcentral-backup
CMD ["bash", "/opt/meshcentral/startup.sh"] CMD ["bash", "/opt/meshcentral/startup.sh"]