fix(deploy): pass ADMIN_USER_IDS into backend container

Docker Compose did not forward the admin whitelist from .env, so production always treated every user as non-admin.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-05 11:14:56 +02:00
parent c80760db02
commit 212775ffdc
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ ORIGIN=http://localhost:5173
SESSION_SECRET= SESSION_SECRET=
# Admin dashboard access — comma-separated list of User IDs (UUIDs) # Admin dashboard access — comma-separated list of User IDs (UUIDs)
# Example: ADMIN_USER_IDS=e6bcd493-80a0-400f-8a27-43c9cdce6e29,11111111-2222-3333-4444-555555555555 # Example: ADMIN_USER_IDS=11111111-2222-3333-4444-555555555555,22222222-3333-4444-5555-666666666666
ADMIN_USER_IDS= ADMIN_USER_IDS=
# Web Push (VAPID) — generate with: npx web-push generate-vapid-keys # Web Push (VAPID) — generate with: npx web-push generate-vapid-keys
+1
View File
@@ -35,6 +35,7 @@ services:
OpenRouterAPIKey: ${OpenRouterAPIKey:-} OpenRouterAPIKey: ${OpenRouterAPIKey:-}
OpenRouterModel: ${OpenRouterModel:-anthropic/claude-3.5-haiku} OpenRouterModel: ${OpenRouterModel:-anthropic/claude-3.5-haiku}
SESSION_SECRET: ${SESSION_SECRET:-} SESSION_SECRET: ${SESSION_SECRET:-}
ADMIN_USER_IDS: ${ADMIN_USER_IDS:-}
NTFY_SERVER: ${NTFY_SERVER:-https://ntfy.sh} NTFY_SERVER: ${NTFY_SERVER:-https://ntfy.sh}
NTFY_TOPIC: ${NTFY_TOPIC:-} NTFY_TOPIC: ${NTFY_TOPIC:-}
NTFY_TOKEN: ${NTFY_TOKEN:-} NTFY_TOKEN: ${NTFY_TOKEN:-}