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