Files
ulfbot/docker-compose.yml
sarah cffc818dd9
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 8s
Add all environment variables to docker-compose
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>
2026-03-24 10:47:54 +01:00

16 lines
537 B
YAML

services:
ulfbot:
build: .
container_name: ulfbot
restart: unless-stopped
environment:
- 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:
- ulfbot-data:/app/data
volumes:
ulfbot-data: