From 15a2ba57043938dde5fe7722bdc3ef32bdaf2936 Mon Sep 17 00:00:00 2001 From: Blue Mouse Date: Wed, 1 Oct 2025 00:07:55 +0100 Subject: [PATCH] Generate SECRET_KEY_BASE with magic env --- templates/compose/swetrix.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/swetrix.yaml b/templates/compose/swetrix.yaml index 6b6721eef..216d333b5 100644 --- a/templates/compose/swetrix.yaml +++ b/templates/compose/swetrix.yaml @@ -26,7 +26,7 @@ services: image: swetrix/swetrix-api:v4.0.2 environment: # Required - - SECRET_KEY_BASE=${SECRET_KEY_BASE:?} + - SECRET_KEY_BASE=$SERVICE_BASE64_64_SECRETKEYBASE # Optional - DISABLE_REGISTRATION=${DISABLE_REGISTRATION:-false}