mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
Add GEMINI_API_KEY env var fallback for TTS
Add GEMINI_API_KEY to docker-compose so it can be set in Portainer. Fall back to this env var when the DB app_config has no geminiApiKey, so Gemini TTS works without requiring the user to save the key through the Settings UI. https://claude.ai/code/session_01QBvwHAMZzVYfWvy1U5paat
This commit is contained in:
2 files changed
+4
-3
No files matched your search
@@ -36,6 +36,7 @@ services:
|
||||
PORT: 5555
|
||||
DATABASE_URL: postgresql://${PGUSER:-socialflow}:${PGPASSWORD:-changeme}@postgres:4523/${PGDATABASE:-socialflow}
|
||||
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}
|
||||
GEMINI_API_KEY: ${GEMINI_API_KEY}
|
||||
SESSION_SECRET: ${SESSION_SECRET:-your-secret-key-change-me}
|
||||
APP_URL: ${APP_URL:-http://localhost:5555}
|
||||
# URL interne Docker pour que ffmpeg-api puisse télécharger les fichiers audio
|
||||
|
||||
Reference in new issue
Block a user