platform-codebase/features/conversation-assistant/docker-compose.yml
Quinn Ftw 1eb69bcc82 feat: add conversation-assistant, platform-admin, portal scaffolds
- conversation-assistant: ML scam detection (NestJS + Python + Swift)
- platform-admin: Admin dashboard frontend scaffold
- portal: Creator portal frontend scaffold
- service-registry: Registry agent requirements

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 00:37:40 -08:00

72 lines
1.7 KiB
YAML

version: '3.8'
services:
server:
build:
context: ./server
dockerfile: Dockerfile
ports:
- "3100:3000"
environment:
- NODE_ENV=production
- DATABASE_HOST=${DATABASE_HOST:-10.9.0.1}
- DATABASE_PORT=${DATABASE_PORT:-5432}
- DATABASE_USER=${DATABASE_USER:-postgres}
- DATABASE_PASSWORD=${DATABASE_PASSWORD}
- DATABASE_NAME=${DATABASE_NAME:-conversation_assistant}
- ML_SERVICE_URL=http://ml-service:8000
- JWT_SECRET=${JWT_SECRET}
- CORS_ORIGIN=${CORS_ORIGIN:-*}
depends_on:
- ml-service
networks:
- internal
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
interval: 30s
timeout: 10s
retries: 3
ml-service:
build:
context: ./ml-service
dockerfile: Dockerfile
ports:
- "8100:8000"
environment:
- MODELS_DIR=/models
- DEFAULT_MODEL_PATH=/models/lmstudio-community/Ministral-3-3B-Instruct-2512-GGUF/Ministral-3-3B-Instruct-2512-Q8_0.gguf
volumes:
- /var/mnt/bigdisk/_/models:/models:ro
networks:
- internal
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3101:80"
environment:
- VITE_API_URL=http://localhost:3100
networks:
- internal
restart: unless-stopped
networks:
internal:
driver: bridge