From 5392b4bd8828613c95b057fbd87128e1d98dd6aa Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Mon, 14 Apr 2025 16:03:40 +0100 Subject: [PATCH] Merge pull request #24858 from overleaf/bg-fix-server-ce-history-redis add history-v1 redis configuration to server-ce GitOrigin-RevId: 7ad37f6261165b29b7c16b92890b2103afaf47d7 --- server-ce/config/custom-environment-variables.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/server-ce/config/custom-environment-variables.json b/server-ce/config/custom-environment-variables.json index 450e92fed9..f65f74ae2b 100644 --- a/server-ce/config/custom-environment-variables.json +++ b/server-ce/config/custom-environment-variables.json @@ -45,5 +45,17 @@ "clusterWorkers": "CLUSTER_WORKERS", "maxFileUploadSize": "MAX_FILE_UPLOAD_SIZE", "httpsOnly": "HTTPS_ONLY", - "httpRequestTimeout": "OVERLEAF_HISTORY_V1_HTTP_REQUEST_TIMEOUT" + "httpRequestTimeout": "OVERLEAF_HISTORY_V1_HTTP_REQUEST_TIMEOUT", + "redis": { + "history": { + "host": "OVERLEAF_REDIS_HOST", + "password": "OVERLEAF_REDIS_PASS", + "port": "OVERLEAF_REDIS_PORT" + }, + "lock": { + "host": "OVERLEAF_REDIS_HOST", + "password": "OVERLEAF_REDIS_PASS", + "port": "OVERLEAF_REDIS_PORT" + } + } }