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:
@@ -24,7 +24,7 @@ python install.py
|
||||
|
||||
| Service | Port | Purpose | Admin URL |
|
||||
|---------|------|---------|-----------|
|
||||
| PostgreSQL | 5432 | Main database | - |
|
||||
| PostgreSQL | 15432 | Main database | - |
|
||||
| Redis | 6379 | Caching & pub/sub | - |
|
||||
| ChromaDB | 8000 | Vector embeddings | http://localhost:8000 |
|
||||
| PgAdmin | 8080 | Database admin | http://localhost:8080 |
|
||||
@@ -73,7 +73,7 @@ docker compose -f docker-compose.services.yml logs -f
|
||||
## 🔑 Default Credentials
|
||||
|
||||
### PostgreSQL
|
||||
- **Host**: localhost:5432
|
||||
- **Host**: localhost:15432
|
||||
- **Database**: discord_fishbowl
|
||||
- **Username**: postgres
|
||||
- **Password**: fishbowl_password (configurable)
|
||||
@@ -122,7 +122,7 @@ When using Docker services, update your Discord Fishbowl configuration:
|
||||
"database": {
|
||||
"type": "postgresql",
|
||||
"host": "localhost",
|
||||
"port": 5432,
|
||||
"port": 15432,
|
||||
"name": "discord_fishbowl",
|
||||
"username": "postgres",
|
||||
"password": "fishbowl_password"
|
||||
@@ -145,7 +145,7 @@ When using Docker services, update your Discord Fishbowl configuration:
|
||||
|
||||
### Services Won't Start
|
||||
1. Check if Docker is running: `docker info`
|
||||
2. Check port conflicts: `lsof -i :5432` (PostgreSQL), `lsof -i :6379` (Redis)
|
||||
2. Check port conflicts: `lsof -i :15432` (PostgreSQL), `lsof -i :6379` (Redis)
|
||||
3. Check logs: `./docker-services.sh logs`
|
||||
|
||||
### Permission Errors
|
||||
|
||||
Reference in New Issue
Block a user