docker-compose.yml 392 B

123456789101112131415
  1. services:
  2. exec-mcp:
  3. container_name: exec-mcp
  4. build: .
  5. ports:
  6. - "8560:8560"
  7. volumes:
  8. - ./data:/app/data
  9. restart: unless-stopped
  10. healthcheck:
  11. test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8560/health', timeout=3).read()"]
  12. interval: 30s
  13. timeout: 5s
  14. start_period: 20s
  15. retries: 3