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
37 lines
909 B
YAML
37 lines
909 B
YAML
# DAARION Web Frontend Docker Compose
|
|
# Deploy alongside MVP services
|
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: ./apps/web
|
|
dockerfile: Dockerfile
|
|
container_name: daarion-web
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
# Server-side API calls (SSR) - internal Docker network
|
|
- INTERNAL_API_URL=http://daarion-city-service:7001
|
|
- CITY_API_BASE_URL=http://daarion-city-service:7001
|
|
- AUTH_API_URL=http://daarion-auth:8080
|
|
# Client-side API calls - relative or public URL
|
|
- NEXT_PUBLIC_API_BASE_URL=
|
|
- NEXT_PUBLIC_CITY_API_BASE_URL=
|
|
networks:
|
|
- dagi-network
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
networks:
|
|
dagi-network:
|
|
external: true
|
|
|