docker-compose.yml + docker/Dockerfile: python:3.11-slim base, ComfyUI cloned at pinned tag, torch CPU wheel, comfydv mounted into custom_nodes/, jinja2 installed via requirements.txt, port 8188 exposed. No GPU required. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
503 B
YAML
18 lines
503 B
YAML
services:
|
|
comfyui:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/Dockerfile
|
|
ports:
|
|
- "8188:8188"
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
# No GPU device reservations — CPU-only harness.
|
|
# Purpose: verify comfydv node registration and dep install, not inference.
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8188/')"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 12
|
|
start_period: 60s
|