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:
@@ -1,38 +1,57 @@
|
||||
{
|
||||
"database": {
|
||||
"url": "sqlite+aiosqlite:///fishbowl_test.db",
|
||||
"password": "test_placeholder",
|
||||
"echo": false
|
||||
},
|
||||
"llm": {
|
||||
"provider": "ollama",
|
||||
"base_url": "http://localhost:11434",
|
||||
"model": "llama2",
|
||||
"max_tokens": 300,
|
||||
"temperature": 0.8,
|
||||
"timeout": 30
|
||||
},
|
||||
"discord": {
|
||||
"token": "test_token_placeholder",
|
||||
"application_id": "123456789",
|
||||
"guild_id": "987654321",
|
||||
"channel_id": "111222333"
|
||||
"bot_token": "MTM5MDkxODI2MDc5NDU5MzM0NQ.GVlKpo.TrF51dlBv-3uJcscrK9xzs0CLqvakKePCCU350",
|
||||
"guild_id": "110670463348260864",
|
||||
"channel_id": "312806692717068288"
|
||||
},
|
||||
"conversation": {
|
||||
"min_delay_seconds": 30,
|
||||
"max_delay_seconds": 180,
|
||||
"max_conversation_length": 20,
|
||||
"quiet_hours_start": 23,
|
||||
"quiet_hours_end": 7
|
||||
"database": {
|
||||
"type": "postgresql",
|
||||
"host": "localhost",
|
||||
"port": 15432,
|
||||
"name": "discord_fishbowl",
|
||||
"username": "postgres",
|
||||
"password": "fishbowl_password",
|
||||
"use_docker": true
|
||||
},
|
||||
"redis": {
|
||||
"enabled": true,
|
||||
"host": "localhost",
|
||||
"port": 6379,
|
||||
"password": "redis_password",
|
||||
"db": 0,
|
||||
"use_docker": true
|
||||
},
|
||||
"vector_db": {
|
||||
"type": "qdrant",
|
||||
"host": "localhost",
|
||||
"port": 6333,
|
||||
"collection_name": "fishbowl_memories",
|
||||
"use_docker": true
|
||||
},
|
||||
"ai": {
|
||||
"provider": "custom",
|
||||
"api_base": "http://192.168.1.200:5005/v1",
|
||||
"api_key": "x",
|
||||
"model": "koboldcpp/Broken-Tutu-24B-Transgression-v2.0.i1-Q4_K_M",
|
||||
"max_tokens": 2000
|
||||
},
|
||||
"system": {
|
||||
"conversation_frequency": 0.5,
|
||||
"response_delay_min": 1.0,
|
||||
"response_delay_max": 5.0,
|
||||
"memory_retention_days": 90,
|
||||
"max_conversation_length": 50,
|
||||
"creativity_boost": true,
|
||||
"safety_monitoring": false,
|
||||
"auto_moderation": false,
|
||||
"personality_change_rate": 0.1
|
||||
},
|
||||
"admin": {
|
||||
"host": "localhost",
|
||||
"port": 8000,
|
||||
"secret_key": "test-secret-key",
|
||||
"cors_origins": ["http://localhost:3000"]
|
||||
},
|
||||
"vector_store": {
|
||||
"storage_path": "./data/vector_stores",
|
||||
"collection_name": "fishbowl_memories"
|
||||
"enabled": true,
|
||||
"host": "0.0.0.0",
|
||||
"port": 8294,
|
||||
"secret_key": "CAKUZ5ds49B1PUEWDWt07TdgxjTtDvvxOOkvOOfbnDE",
|
||||
"admin_username": "admin",
|
||||
"admin_password": "FIre!@34"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user