Materials_discovery / docker-compose.yml
SEUyishu's picture
Upload 16 files
7f0fa00 verified
raw
history blame contribute delete
816 Bytes
# 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