Merge pull request #10215 from overleaf/ae-server-ce-develop-npm-cache

Remove npm-cache volume from Server CE dev env docker-compose config

GitOrigin-RevId: dab7c0b2fbf3cb9f637ce3edd8f3a871c1030fd0
This commit is contained in:
Alf Eaton 2022-10-28 13:12:25 +01:00 committed by Copybot
parent 3dbcc03db2
commit 4c01cdacb5

View file

@ -6,7 +6,6 @@ volumes:
filestore-uploads:
filestore-user-files:
mongo-data:
npm-cache:
redis-data:
sharelatex-data:
spelling-cache:
@ -19,8 +18,6 @@ services:
dockerfile: services/chat/Dockerfile
env_file:
- dev.env
volumes:
- npm-cache:/root/.npm
clsi:
build:
@ -34,7 +31,6 @@ services:
- COMPILES_HOST_DIR=${PWD}/compiles
user: root
volumes:
- npm-cache:/root/.npm
- ${PWD}/compiles:/overleaf/services/clsi/compiles
- ${DOCKER_SOCKET_PATH:-/var/run/docker.sock}:/var/run/docker.sock
- clsi-cache:/overleaf/services/clsi/cache
@ -46,8 +42,6 @@ services:
dockerfile: services/contacts/Dockerfile
env_file:
- dev.env
volumes:
- npm-cache:/root/.npm
docstore:
build:
@ -55,8 +49,6 @@ services:
dockerfile: services/docstore/Dockerfile
env_file:
- dev.env
volumes:
- npm-cache:/root/.npm
document-updater:
build:
@ -64,8 +56,6 @@ services:
dockerfile: services/document-updater/Dockerfile
env_file:
- dev.env
volumes:
- npm-cache:/root/.npm
filestore:
build:
@ -76,7 +66,6 @@ services:
# environment:
# - ENABLE_CONVERSIONS=true
volumes:
- npm-cache:/root/.npm
- filestore-public-files:/overleaf/services/filestore/public_files
- filestore-template-files:/overleaf/services/filestore/template_files
- filestore-uploads:/overleaf/services/filestore/uploads
@ -87,7 +76,6 @@ services:
ports:
- "127.0.0.1:27017:27017" # for debugging
volumes:
- npm-cache:/root/.npm
- mongo-data:/data/db
notifications:
@ -96,8 +84,6 @@ services:
dockerfile: services/notifications/Dockerfile
env_file:
- dev.env
volumes:
- npm-cache:/root/.npm
real-time:
build:
@ -105,8 +91,6 @@ services:
dockerfile: services/real-time/Dockerfile
env_file:
- dev.env
volumes:
- npm-cache:/root/.npm
redis:
image: redis:5
@ -122,7 +106,6 @@ services:
env_file:
- dev.env
volumes:
- npm-cache:/root/.npm
- spelling-cache:/overleaf/services/spelling/cache
track-changes:
@ -131,8 +114,6 @@ services:
dockerfile: services/track-changes/Dockerfile
env_file:
- dev.env
volumes:
- npm-cache:/root/.npm
web:
build:
@ -149,7 +130,6 @@ services:
- SHARELATEX_ALLOW_PUBLIC_ACCESS=true
command: ["node", "app.js"]
volumes:
- npm-cache:/root/.npm
- sharelatex-data:/var/lib/sharelatex
- web-data:/overleaf/services/web/data
depends_on:
@ -174,5 +154,4 @@ services:
ports:
- "127.0.0.1:80:3808"
volumes:
- npm-cache:/root/.npm
- ./webpack.config.dev-env.js:/overleaf/services/web/webpack.config.dev-env.js