Merge pull request #12377 from overleaf/em-server-pro-config

Config adjustments for git bridge in Server Pro

GitOrigin-RevId: 1fc4563253252e5a05118d8fda99a00c8b22126a
This commit is contained in:
Eric Mc Sween 2023-04-03 10:48:23 -04:00 committed by Copybot
parent 91ec3ca47e
commit 6c234e81c0
3 changed files with 17 additions and 6 deletions

View file

@ -90,10 +90,6 @@ ENV OPTIMISE_PDF "true"
ENV SHARELATEX_FPH_INITIALIZE_NEW_PROJECTS "true" ENV SHARELATEX_FPH_INITIALIZE_NEW_PROJECTS "true"
ENV SHARELATEX_FPH_DISPLAY_NEW_PROJECTS "true" ENV SHARELATEX_FPH_DISPLAY_NEW_PROJECTS "true"
ENV SHARELATEX_HISTORY_BACKEND "fs"
ENV SHARELATEX_HISTORY_PROJECT_BLOBS_BUCKET "/var/lib/sharelatex/data/history/overleaf-project-blobs"
ENV SHARELATEX_HISTORY_CHUNKS_BUCKET "/var/lib/sharelatex/data/history/overleaf-chunks"
# Phusion Image timeouts before sending SIGKILL to processes # Phusion Image timeouts before sending SIGKILL to processes
# ---------------------------------------------------------- # ----------------------------------------------------------
ENV KILL_PROCESS_TIMEOUT 55 ENV KILL_PROCESS_TIMEOUT 55

View file

@ -1,5 +1,6 @@
{ {
"persistor": { "persistor": {
"backend": "fs",
"useSubdirectories": true "useSubdirectories": true
}, },
"basicHttpAuth": { "basicHttpAuth": {
@ -7,8 +8,17 @@
}, },
"useDeleteObjects": "false", "useDeleteObjects": "false",
"jwtAuth": { "jwtAuth": {
"key": "secureKey",
"algorithm": "HS256" "algorithm": "HS256"
}, },
"mongo": {} "mongo": {},
"blobStore": {
"globalBucket": "/var/lib/sharelatex/data/history/overleaf-global-blobs",
"projectBucket": "/var/lib/sharelatex/data/history/overleaf-project-blobs"
},
"chunkStore": {
"bucket": "/var/lib/sharelatex/data/history/overleaf-chunks"
},
"zipStore": {
"bucket": "/var/lib/sharelatex/data/history/overleaf-zips"
}
} }

View file

@ -235,6 +235,11 @@ module.exports = {
recurly: {}, recurly: {},
}, },
jwt: {
key: process.env.OT_JWT_AUTH_KEY,
algorithm: process.env.OT_JWT_AUTH_ALG || 'HS256',
},
splitTests: [], splitTests: [],
// Where your instance of ShareLaTeX can be found publically. Used in emails // Where your instance of ShareLaTeX can be found publically. Used in emails