File size: 776 Bytes
b0f9887
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3.8'

services:
  ech0-mcp-server:
    build: .
    ports:
      - "8000:8000"
    environment:
      - MCP_PORT=8000
      - MCP_HOST=0.0.0.0
      - QULAB_PATH=/app/qulab  # Mount if you have QuLabInfinite
    volumes:
      - ./logs:/app/logs
      - ./data:/app/data
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s
    networks:
      - ech0-network

  # Optional: QuLabInfinite integration
  # qulabinfinite:
  #   image: ech0prime/qulabinfinite:latest
  #   volumes:
  #     - ./qulab_data:/data
  #   networks:
  #     - ech0-network

networks:
  ech0-network:
    driver: bridge

volumes:
  ech0-data:
  qulab-data: