Add all environment variables to docker-compose
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 8s

Pass all .env settings to container:
- AI_DEFAULT_API_KEY
- AI_DEFAULT_BASE_URL
- AI_DEFAULT_MODEL
- AI_SYSTEM_PROMPT

With sensible defaults for optional values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-24 10:47:54 +01:00
parent 3b310d612d
commit cffc818dd9

View File

@@ -5,6 +5,10 @@ services:
restart: unless-stopped restart: unless-stopped
environment: environment:
- BOT_TOKEN=${BOT_TOKEN} - BOT_TOKEN=${BOT_TOKEN}
- AI_DEFAULT_API_KEY=${AI_DEFAULT_API_KEY:-}
- AI_DEFAULT_BASE_URL=${AI_DEFAULT_BASE_URL:-https://api.openai.com/v1}
- AI_DEFAULT_MODEL=${AI_DEFAULT_MODEL:-gpt-4o-mini}
- AI_SYSTEM_PROMPT=${AI_SYSTEM_PROMPT:-Du bist ein freundlicher Chat-Bot in einer Telegram-Gruppe. Antworte kurz und prägnant auf Deutsch.}
volumes: volumes:
- ulfbot-data:/app/data - ulfbot-data:/app/data