Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
# Self-host quickstart: runs the open-source Kiln MCP server against your
# own printer. This is separate from the infrastructure that runs the
# hosted api.kiln3d.com service, which isn't part of this repo.
# See README's "Run in Docker" section for usage.
services:
kiln:
build: .
environment:
- KILN_PRINTER_TYPE=${KILN_PRINTER_TYPE:-octoprint}
- KILN_PRINTER_HOST=${KILN_PRINTER_HOST}
- KILN_PRINTER_API_KEY=${KILN_PRINTER_API_KEY}
ports:
- "8000:8000"
restart: unless-stopped
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
a04c45bc7This file is pinned to the selected release. Download the original to open it in your design tool.