From cf41205607a726014f8bdcf9bd84f3f1c31609b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20D=C3=BCren?= Date: Fri, 14 Mar 2025 21:43:17 +0100 Subject: [PATCH] Update config template for Museum server --- config.template.yaml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/config.template.yaml b/config.template.yaml index edcdb80..a6fd293 100644 --- a/config.template.yaml +++ b/config.template.yaml @@ -13,6 +13,10 @@ database: password: "%%POSTGRESQL_PASSWORD%%" database: "%%POSTGRESQL_DATABASE%%" ssl: true + sslMode: "require" + maxOpenConns: 25 + maxIdleConns: 25 + connMaxLifetime: "1h" storage: type: "s3" @@ -39,6 +43,24 @@ email: auth: jwtSecret: "$(openssl rand -hex 32)" tokenExpiry: 86400 + sessionSecret: "$(openssl rand -hex 32)" logging: - level: "info" \ No newline at end of file + level: "info" + format: "text" + +# Additional settings based on Museum requirements +keygen: + master: "$(openssl rand -hex 32)" + +payments: + enabled: false + +metadata: + localPath: "/app/data/storage/metadata" + +tempDirectory: "/app/data/storage/temp" + +memoryCache: + enabled: true + size: 100 \ No newline at end of file