Adding volumes.

This commit is contained in:
mike12345567 2022-04-01 12:50:26 +01:00
parent 56147b1a6e
commit 12be8ed357
3 changed files with 5 additions and 2 deletions

View File

@ -86,6 +86,8 @@ RUN touch /etc/nginx/logs/error.log
RUN touch /etc/nginx/logs/nginx.pid RUN touch /etc/nginx/logs/nginx.pid
EXPOSE 10000 EXPOSE 10000
VOLUME /opt/couchdb/data
VOLUME /minio
# must set this just before running # must set this just before running
ENV NODE_ENV=production ENV NODE_ENV=production

View File

@ -1,6 +1,6 @@
redis-server --requirepass $REDIS_PASSWORD & redis-server --requirepass $REDIS_PASSWORD &
/opt/clouseau/bin/clouseau & /opt/clouseau/bin/clouseau &
/minio/minio server /data & /minio/minio server /minio &
/docker-entrypoint.sh /opt/couchdb/bin/couchdb & /docker-entrypoint.sh /opt/couchdb/bin/couchdb &
/etc/init.d/nginx restart /etc/init.d/nginx restart
pushd app pushd app

View File

@ -58,7 +58,8 @@
"build:docker:develop": "node scripts/pinVersions && lerna run build:docker && npm run build:docker:proxy:compose && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -", "build:docker:develop": "node scripts/pinVersions && lerna run build:docker && npm run build:docker:proxy:compose && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh develop && cd -",
"build:docker:airgap": "node hosting/scripts/airgapped/airgappedDockerBuild", "build:docker:airgap": "node hosting/scripts/airgapped/airgappedDockerBuild",
"build:digitalocean": "cd hosting/digitalocean && ./build.sh && cd -", "build:digitalocean": "cd hosting/digitalocean && ./build.sh && cd -",
"build:docker:single": "lerna run build && lerna run predocker && docker build -f hosting/single/Dockerfile -t budibase:latest .", "build:docker:single:image": "docker build -f hosting/single/Dockerfile -t budibase:latest .",
"build:docker:single": "lerna run build && lerna run predocker && npm run build:docker:single:image",
"build:docs": "lerna run build:docs", "build:docs": "lerna run build:docs",
"release:helm": "node scripts/releaseHelmChart", "release:helm": "node scripts/releaseHelmChart",
"env:multi:enable": "lerna run env:multi:enable", "env:multi:enable": "lerna run env:multi:enable",