Files
JARVIS/docker-compose.yml
DESKTOP-72TV0V4\caoxiaozhu 6f594631e9 Refine knowledge brain workflow
Align the brain prompts, graph view, and startup defaults with the
latest phase 1 flow so local runs and navigation stay consistent.
2026-03-22 22:42:47 +08:00

38 lines
878 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: "3.8"
services:
jarvis-backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: jarvis-backend
restart: unless-stopped
ports:
- "9527:9527"
volumes:
- ./data:/data/jarvis
env_file:
- ./backend/.env
environment:
- DATA_DIR=/data/jarvis/data
- CHROMA_PERSIST_DIR=/data/jarvis/chroma
- UPLOAD_DIR=/data/jarvis/uploads
- NAS_DATA_ROOT=/data/jarvis
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9527/api/health"]
interval: 30s
timeout: 10s
retries: 3
# 前端开发服务器(可选,生产环境用 nginx
jarvis-frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: jarvis-frontend
restart: unless-stopped
ports:
- "5173:80"
depends_on:
- jarvis-backend