diff --git a/server-ce/Dockerfile b/server-ce/Dockerfile index 0459db3a42..db21d1610f 100644 --- a/server-ce/Dockerfile +++ b/server-ce/Dockerfile @@ -80,6 +80,9 @@ ENV SHARELATEX_APP_NAME "Overleaf Community Edition" ENV OPTIMISE_PDF "true" +ENV SHARELATEX_FPH_INITIALIZE_NEW_PROJECTS "true" +ENV SHARELATEX_FPH_DISPLAY_NEW_PROJECTS "true" + ENV NODE_ENV "production" ENV LOG_LEVEL "info" diff --git a/server-ce/config/settings.js b/server-ce/config/settings.js index ab4c5961c7..f38585338b 100644 --- a/server-ce/config/settings.js +++ b/server-ce/config/settings.js @@ -291,8 +291,8 @@ const settings = { }, project_history: { sendProjectStructureOps: true, - initializeHistoryForNewProjects: true, - displayHistoryForNewProjects: true, + initializeHistoryForNewProjects: process.env.SHARELATEX_FPH_INITIALIZE_NEW_PROJECTS === 'true', + displayHistoryForNewProjects: process.env.SHARELATEX_FPH_DISPLAY_NEW_PROJECTS === 'true', url: 'http://localhost:3054', }, v1_history: {