mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #16974 from overleaf/jpa-fix-mongo-url-history-v1
[server-ce] use OVERLEAF_MONGO_URL in history-v1 GitOrigin-RevId: 0c3a25d237162f3ad249c0d7f1f508373ce90e51
This commit is contained in:
parent
12befda220
commit
7a7a7d055f
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
"zipTimeoutMs": "ZIP_STORE_ZIP_TIMEOUT_MS"
|
||||
},
|
||||
"mongo": {
|
||||
"uri": "MONGO_CONNECTION_STRING"
|
||||
"uri": "OVERLEAF_MONGO_URL"
|
||||
},
|
||||
"basicHttpAuth": {
|
||||
"password": "STAGING_PASSWORD",
|
||||
|
|
|
@ -6,4 +6,4 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|||
NODE_PARAMS="--inspect=0.0.0.0:30640"
|
||||
fi
|
||||
|
||||
MONGO_CONNECTION_STRING=$OVERLEAF_MONGO_URL NODE_CONFIG_DIR=/overleaf/services/history-v1/config exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/history-v1/app.js >> /var/log/sharelatex/history-v1.log 2>&1
|
||||
NODE_CONFIG_DIR=/overleaf/services/history-v1/config exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/history-v1/app.js >> /var/log/sharelatex/history-v1.log 2>&1
|
||||
|
|
Loading…
Reference in a new issue