mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
a3ab9468a4
commit
cf4269d4ee
3 changed files with 28 additions and 28 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
"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,
|
||||||
|
|
Loading…
Reference in a new issue