fix(staging): bootstrap database model key
Staging Backend Quality Gate / validate (push) Successful in 17m40s
Staging Backend Quality Gate / publish (push) Successful in 23m46s

This commit is contained in:
Jesse_Chen
2026-08-07 20:10:27 +08:00
parent 3089316d2e
commit 508f3db9c6
6 changed files with 72 additions and 0 deletions
+1
View File
@@ -87,6 +87,7 @@ RECTIFICATION_PRICE_CREDITS=3
# Required to encrypt/decrypt model-provider API keys stored in the admin database.
# Base64 decoding must produce exactly 32 random bytes; do not reuse other keys.
# Staging migration/deploy creates this once when absent and removes legacy model API-key settings.
MODEL_PROVIDER_CONFIG_ENCRYPTION_KEY=<independent-base64-encoded-32-byte-key>
# OpenAI-compatible origins must be explicitly server-allowlisted.
# MODEL_PROVIDER_BASE_URL_ALLOWLIST=https://api.deepseek.com