diff --git a/server-ce/config/custom-environment-variables.json b/server-ce/config/custom-environment-variables.json index e7dfc6a5f3..f666065b4c 100644 --- a/server-ce/config/custom-environment-variables.json +++ b/server-ce/config/custom-environment-variables.json @@ -30,7 +30,7 @@ "zipTimeoutMs": "ZIP_STORE_ZIP_TIMEOUT_MS" }, "mongo": { - "uri": "MONGO_CONNECTION_STRING" + "uri": "OVERLEAF_MONGO_URL" }, "basicHttpAuth": { "password": "STAGING_PASSWORD", diff --git a/server-ce/runit/history-v1-sharelatex/run b/server-ce/runit/history-v1-sharelatex/run index a6be457865..e77b2477d3 100755 --- a/server-ce/runit/history-v1-sharelatex/run +++ b/server-ce/runit/history-v1-sharelatex/run @@ -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