Why: baseline pending customer order edge handlers and runtime assets before security wave. What: add submit order contracts/handlers, service adapter updates, and docs/docker assets. Rule: keep technical intent and align repository workflow.
1.1 KiB
1.1 KiB
Containerization Runbook
Image Build
If the repo consumes internal packages from Gitea, pass feed credentials as build args.
docker build --build-arg NUGET_FEED_USERNAME=<gitea-login> --build-arg NUGET_FEED_TOKEN=<gitea-token> -t agilewebs/customer-orders-bff:dev .
Local Run
docker run --rm -p 8080:8080 --name customer-orders-bff agilewebs/customer-orders-bff:dev
Health Probe
- Path:
/health - Fallback path:
/healthz - Port:
8080
Runtime Notes
- Exposes REST edge endpoints for customer order lifecycle flows.
Health Endpoint Consistency
- Canonical probe:
/health - Compatibility probe:
/healthz - Container port:
8080
Demo Integration
- Participates in: restaurant demo compose stack.
- Integration artifact path:
greenfield/demo/restaurant/docker-compose.yml
Known Limitations
- Current runtime adapters are still predominantly in-memory for deterministic local/demo behavior.
- Demo PostgreSQL seeds validate integration contracts and smoke determinism, but do not yet imply full persistence implementation parity.