27 lines
598 B
YAML
27 lines
598 B
YAML
---
|
|
|
|
volumes:
|
|
workspace:
|
|
external: true
|
|
name: turnstone_workspace
|
|
|
|
services:
|
|
mcp-server:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
user: "1000:1000"
|
|
environment:
|
|
- PUBLIC_BASE_URL=${PUBLIC_BASE_URL:-http://localhost:8000}
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ${WORKSPACE_MOUNT:-workspace}:/workspace
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|