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:
Jakob Ackermann 2024-02-09 15:18:53 +00:00 committed by Copybot
parent 12befda220
commit 7a7a7d055f
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
"zipTimeoutMs": "ZIP_STORE_ZIP_TIMEOUT_MS"
},
"mongo": {
"uri": "MONGO_CONNECTION_STRING"
"uri": "OVERLEAF_MONGO_URL"
},
"basicHttpAuth": {
"password": "STAGING_PASSWORD",

View file

@ -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