From d1604eacd31d30e561c8c8d20b60b5c7866a8930 Mon Sep 17 00:00:00 2001 From: David R Date: Sun, 17 Nov 2024 10:29:26 -0500 Subject: [PATCH] Add important env variables OPENAI_API_KEY is necessary for AI tagging, and DISABLE_SIGNUPS is very commonly needed. --- templates/compose/hoarder.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/compose/hoarder.yaml b/templates/compose/hoarder.yaml index 89002d759..4ce1c433f 100644 --- a/templates/compose/hoarder.yaml +++ b/templates/compose/hoarder.yaml @@ -16,6 +16,8 @@ services: - NEXTAUTH_URL=${SERVICE_FQDN_HOARDER} - MEILI_ADDR=http://meilisearch:7700 - BROWSER_WEB_URL=http://chrome:9222 + - OPENAI_API_KEY=${SERVICE_OPENAI_API_KEY} + - DISABLE_SIGNUPS=${SERVICE_DISABLE_SIGNUPS} - DATA_DIR=/data chrome: @@ -41,4 +43,4 @@ services: test: ["CMD", "curl", "-f", "http://127.0.0.1:7700/health"] interval: 2s timeout: 10s - retries: 15 \ No newline at end of file + retries: 15