From 9baedc40e94e2b4519e08139b2f7f7e64c03bb08 Mon Sep 17 00:00:00 2001 From: "Amber (Komodo Assistant)" Date: Fri, 27 Mar 2026 13:09:38 +0100 Subject: [PATCH] fix: Correct environment variable syntax for Komodo Secrets - Replace ${SECRET:name} with ${NAME} format - Replace hyphens with underscores in variable names - Affected: gotify, grafana, vaultwarden, obsidian-livesync --- stacks/gotify/compose.yaml | 4 ++-- stacks/grafana/compose.yaml | 4 ++-- stacks/obsidian-livesync/compose.yaml | 4 ++-- stacks/vaultwarden/compose.yaml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/stacks/gotify/compose.yaml b/stacks/gotify/compose.yaml index b3f6bc6..a0c2f8b 100644 --- a/stacks/gotify/compose.yaml +++ b/stacks/gotify/compose.yaml @@ -8,8 +8,8 @@ services: volumes: - gotify_data:/app/data environment: - - GOTIFY_DEFAULTUSER_NAME=${SECRET:gotify-admin-user} - - GOTIFY_DEFAULTUSER_PASS=${SECRET:gotify-admin-pass} + - GOTIFY_DEFAULTUSER_NAME=${GOTIFY_ADMIN_USER} + - GOTIFY_DEFAULTUSER_PASS=${GOTIFY_ADMIN_PASS} networks: - gotify-network healthcheck: diff --git a/stacks/grafana/compose.yaml b/stacks/grafana/compose.yaml index 95d5cb2..bced57a 100644 --- a/stacks/grafana/compose.yaml +++ b/stacks/grafana/compose.yaml @@ -9,8 +9,8 @@ services: - grafana_data:/var/lib/grafana - grafana_config:/etc/grafana environment: - - GF_SECURITY_ADMIN_USER=${SECRET:grafana-admin-user} - - GF_SECURITY_ADMIN_PASSWORD=${SECRET:grafana-admin-pass} + - GF_SECURITY_ADMIN_USER=${GRAFANA_ADMIN_USER} + - GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_ADMIN_PASS} - GF_USERS_ALLOW_SIGN_UP=false networks: - monitoring diff --git a/stacks/obsidian-livesync/compose.yaml b/stacks/obsidian-livesync/compose.yaml index 0ab2ec4..d2a2e3a 100644 --- a/stacks/obsidian-livesync/compose.yaml +++ b/stacks/obsidian-livesync/compose.yaml @@ -8,8 +8,8 @@ services: volumes: - obsidian_data:/opt/couchdb/data environment: - - COUCHDB_USER=${OBSIDIAN_USER:-obsidian} - - COUCHDB_PASSWORD=${SECRET:obsidian-password} + - COUCHDB_USER=${OBSIDIAN_USER:_obsidian} + - COUCHDB_PASSWORD=${OBSIDIAN_PASSWORD} networks: - obsidian-network healthcheck: diff --git a/stacks/vaultwarden/compose.yaml b/stacks/vaultwarden/compose.yaml index f77d38c..b4b9b5d 100644 --- a/stacks/vaultwarden/compose.yaml +++ b/stacks/vaultwarden/compose.yaml @@ -8,7 +8,7 @@ services: volumes: - vaultwarden_data:/data environment: - - ADMIN_TOKEN=${SECRET:vaultwarden-admin-token} + - ADMIN_TOKEN=${VAULTWARDEN_ADMIN_TOKEN} - WEBSOCKET_ENABLED=true - SIGNUPS_ALLOWED=false networks: