Merge pull request #6221 from overleaf/ae-web-port

Change web port to 3000 in dev environment

GitOrigin-RevId: 8e9af8fa5e1a35c2c9089d4e9cbf744634cc4e85
This commit is contained in:
Christopher Hoskin 2022-01-11 16:05:14 +00:00 committed by Copybot
parent a3ab9468a4
commit cf4269d4ee
3 changed files with 28 additions and 28 deletions

View file

@ -2,7 +2,7 @@ version: '2.2'
services: services:
sharelatex: sharelatex:
ports: ports:
- 40000:40000 - 30000:30000
- 30150:30150 - 30150:30150
- 30120:30120 - 30120:30120
- 30050:30050 - 30050:30050

View file

@ -3,7 +3,7 @@
NODE_PARAMS="" NODE_PARAMS=""
if [ "$DEBUG_NODE" == "true" ]; then if [ "$DEBUG_NODE" == "true" ]; then
echo "running debug - web" echo "running debug - web"
NODE_PARAMS="--inspect=0.0.0.0:40000" NODE_PARAMS="--inspect=0.0.0.0:30000"
fi fi
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /var/www/sharelatex/web/app.js >> /var/log/sharelatex/web.log 2>&1 exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /var/www/sharelatex/web/app.js >> /var/log/sharelatex/web.log 2>&1

View file

@ -1,28 +1,28 @@
{ {
"port": 8000, "port": 8000,
"bindIp": "0.0.0.0", "bindIp": "0.0.0.0",
"idleTimeout": 30000, "idleTimeout": 30000,
"rootGitDirectory": "/tmp/wlgb", "rootGitDirectory": "/tmp/wlgb",
"apiBaseUrl": "http://v2.overleaf.test:4000/api/v0", "apiBaseUrl": "http://v2.overleaf.test:3000/api/v0",
"postbackBaseUrl": "http://git-bridge:8000", "postbackBaseUrl": "http://git-bridge:8000",
"serviceName": "Overleaf", "serviceName": "Overleaf",
"oauth2": { "oauth2": {
"oauth2ClientID": "264c723c925c13590880751f861f13084934030c13b4452901e73bdfab226edc", "oauth2ClientID": "264c723c925c13590880751f861f13084934030c13b4452901e73bdfab226edc",
"oauth2ClientSecret": "e6b2e9eee7ae2bb653823250bb69594a91db0547fe3790a7135acb497108e62d", "oauth2ClientSecret": "e6b2e9eee7ae2bb653823250bb69594a91db0547fe3790a7135acb497108e62d",
"oauth2Server": "http://v2.overleaf.test:4000" "oauth2Server": "http://v2.overleaf.test:3000"
}, },
"repoStore": { "repoStore": {
"maxFileNum": 2000, "maxFileNum": 2000,
"maxFileSize": 52428800 "maxFileSize": 52428800
}, },
"swapStore": { "swapStore": {
"type": "noop" "type": "noop"
}, },
"swapJob": { "swapJob": {
"minProjects": 50, "minProjects": 50,
"lowGiB": 128, "lowGiB": 128,
"highGiB": 256, "highGiB": 256,
"intervalMillis": 3600000, "intervalMillis": 3600000,
"compressionMethod": "gzip" "compressionMethod": "gzip"
} }
} }