File size: 816 Bytes
7f0fa00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Docker Compose for local development
# Run with: docker-compose up --build

version: '3.8'

services:
  gnome-mcp:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: gnome-mcp-server
    ports:
      - "7860:7860"
    environment:
      - GNOME_DATA_DIR=/app/gnome_data
      - GNOME_MODEL_DIR=/app/models
      - HOST=0.0.0.0
      - PORT=7860
    volumes:
      # Persist downloaded data
      - gnome_data:/app/gnome_data
      - gnome_models:/app/models
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:7860/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 10s

volumes:
  gnome_data:
    name: gnome_materials_data
  gnome_models:
    name: gnome_materials_models