mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-17 10:18:42 +00:00
Fix Server CE dev environment (#21846)
GitOrigin-RevId: 456beadb67a3313262c1f4f88792719535b1991c
This commit is contained in:
parent
5f9790d762
commit
eb693e41dc
2 changed files with 3 additions and 2 deletions
develop
|
@ -13,6 +13,7 @@ NOTIFICATIONS_HOST=notifications
|
|||
PROJECT_HISTORY_HOST=project-history
|
||||
REALTIME_HOST=real-time
|
||||
REDIS_HOST=redis
|
||||
SESSION_SECRET=foo
|
||||
WEBPACK_HOST=webpack
|
||||
WEB_API_PASSWORD=overleaf
|
||||
WEB_API_USER=overleaf
|
||||
|
|
|
@ -136,7 +136,7 @@ services:
|
|||
- EMAIL_CONFIRMATION_DISABLED=true
|
||||
- NODE_ENV=development
|
||||
- OVERLEAF_ALLOW_PUBLIC_ACCESS=true
|
||||
command: ["node", "app.js"]
|
||||
command: ["node", "app.mjs"]
|
||||
volumes:
|
||||
- sharelatex-data:/var/lib/overleaf
|
||||
- web-data:/overleaf/services/web/data
|
||||
|
@ -158,7 +158,7 @@ services:
|
|||
build:
|
||||
context: ..
|
||||
dockerfile: services/web/Dockerfile
|
||||
target: dev
|
||||
target: webpack
|
||||
command: ["npx", "webpack", "serve", "--config", "webpack.config.dev-env.js"]
|
||||
ports:
|
||||
- "127.0.0.1:80:3808"
|
||||
|
|
Loading…
Add table
Reference in a new issue