Dockerfile + deployment config #88
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1: Dockerfile + deployment config
Production-ready container build and node_hub deployment manifest.
Files:
Dockerfile(addCMDfor uvicorn, ensure deps areinstalled in runtime stage, pin base image tag)
node-hub.app.yml(or whatever format node_hub expects) fordeploying easyStitch as a managed service
docker-compose.ymlfor local dev (optional, but useful fortesting the full service)
docs/deployment.mdcovering Docker, node_hub, env varsAcceptance:
docker build -t easystitch-service . && docker run -p 8080:8080 easystitch-servicestarts a working service.node-hub.app.ymlregisters the service, setsCORS_ALLOWED_ORIGINScorrectly, and
node_hubhealth-checks it successfully.docs/deployment.mdcovers: building, running, env vars, commonerrors.
python:3.11-slimbase + scipy + scikit-image is ~1.5 GB; that's fine).
Depends on: P1 (skeleton) so the Dockerfile has something to run.
P2/P3/P4 not required — the image with only P1 is shippable, and the
endpoints come online as those phases land.
Cross-cutting concerns (handled across all phases, not in one phase)
service implementation honors those values across all endpoints.
LOG_LEVEL=infobydefault; per-request UUID for correlation).
{"error": "...", "stage": "...", "request_id": "..."}across all endpoints.Decomposed from easystitch#31
Decomposed from easystitch#50