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:
root
2025-07-05 15:09:29 -07:00
parent 824b118e93
commit 3d9e8ffbf0
59 changed files with 1100 additions and 244 deletions

View File

@@ -4,10 +4,10 @@ import asyncio
from typing import Optional, Dict, Any
import logging
from datetime import datetime, timedelta
from ..utils.config import get_settings
from ..utils.logging import log_error_with_context, log_system_health
from ..database.connection import get_db_session
from ..database.models import Message, Conversation, Character
from utils.config import get_settings
from utils.logging import log_error_with_context, log_system_health
from database.connection import get_db_session
from database.models import Message, Conversation, Character
from sqlalchemy import select, and_
logger = logging.getLogger(__name__)