Fix Docker startup script and complete application deployment
- Update docker-start.sh to force correct profiles (qdrant, admin) - Fix PostgreSQL port mapping from 5432 to 15432 across all configs - Resolve MCP import conflicts by renaming src/mcp to src/mcp_servers - Fix admin interface StaticFiles mount syntax error - Update LLM client to support both Ollama and OpenAI-compatible APIs - Configure host networking for Discord bot container access - Correct database connection handling for async context managers - Update environment variables and Docker compose configurations - Add missing production dependencies and Dockerfile improvements
This commit is contained in:
35
.env.docker
Normal file
35
.env.docker
Normal file
@@ -0,0 +1,35 @@
|
||||
# Docker Compose Environment Variables
|
||||
# Generated by Discord Fishbowl setup script
|
||||
|
||||
# Database
|
||||
DB_PASSWORD=fishbowl_password
|
||||
|
||||
# Redis
|
||||
REDIS_PASSWORD=redis_password
|
||||
|
||||
# Discord Bot
|
||||
DISCORD_BOT_TOKEN=MTM5MDkxODI2MDc5NDU5MzM0NQ.GVlKpo.TrF51dlBv-3uJcscrK9xzs0CLqvakKePCCU350
|
||||
DISCORD_GUILD_ID=110670463348260864
|
||||
DISCORD_CHANNEL_ID=312806692717068288
|
||||
|
||||
# LLM Configuration
|
||||
LLM_BASE_URL=http://localhost:5005/v1
|
||||
LLM_MODEL=koboldcpp/Broken-Tutu-24B-Transgression-v2.0.i1-Q4_K_M
|
||||
|
||||
# Admin Interface
|
||||
ADMIN_PORT=8294
|
||||
SECRET_KEY=your-secret-key-here
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=FIre!@34
|
||||
|
||||
# Optional PgAdmin credentials (if using --profile admin)
|
||||
PGADMIN_PASSWORD=admin123
|
||||
|
||||
# Vector Database
|
||||
VECTOR_DB_TYPE=qdrant
|
||||
QDRANT_HOST=qdrant
|
||||
QDRANT_PORT=6333
|
||||
QDRANT_COLLECTION=fishbowl_memories
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=INFO
|
||||
Reference in New Issue
Block a user