fix: NODE1_REPAIR - healthchecks, dependencies, SSR env, telegram gateway

TASK_PHASE_NODE1_REPAIR:
- Fix daarion-web SSR: use CITY_API_BASE_URL instead of 127.0.0.1
- Fix auth API routes: use AUTH_API_URL env var
- Add wget to Dockerfiles for healthchecks (stt, ocr, web-search, swapper, vector-db, rag)
- Update healthchecks to use wget instead of curl
- Fix vector-db-service: update torch==2.4.0, sentence-transformers==2.6.1
- Fix rag-service: correct haystack imports for v2.x
- Fix telegram-gateway: remove msg.ack() for non-JetStream NATS
- Add /health endpoint to nginx mvp-routes.conf
- Add room_role, is_public, sort_order columns to city_rooms migration
- Add TASK_PHASE_NODE1_REPAIR.md and DEPLOY_NODE1_REPAIR.md docs

Previous tasks included:
- TASK 039-044: Orchestrator rooms, Matrix chat cleanup, CrewAI integration
This commit is contained in:
Apple
2025-11-29 05:17:08 -08:00
parent 0bab4bba08
commit a6e531a098
69 changed files with 4693 additions and 1310 deletions

View File

@@ -1,6 +1,6 @@
services:
# DAGI Router Node-2 - Core routing service for Node-2
router-node2:
router:
build:
context: .
dockerfile: Dockerfile
@@ -339,6 +339,34 @@ services:
retries: 3
start_period: 10s
# City Service - MicroDAO Core Logic
city-service:
build:
context: ./services/city-service
dockerfile: Dockerfile
container_name: daarion-city-service
ports:
- "7001:7001"
environment:
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/daarion_memory
- MATRIX_GATEWAY_URL=http://gateway:9300
- LOG_LEVEL=INFO
volumes:
- ./logs:/app/logs
- ./services/city-service/static:/app/static
depends_on:
- postgres
- gateway
networks:
- dagi-network
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7001/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
rag-model-cache:
driver: local