# Containerization Runbook ## Image Build If the repo consumes internal packages from Gitea, pass feed credentials as build args. ```bash docker build --build-arg NUGET_FEED_USERNAME= --build-arg NUGET_FEED_TOKEN= -t agilewebs/waiter-floor-bff:dev . ``` ## Local Run ```bash docker run --rm -p 8080:8080 --name waiter-floor-bff agilewebs/waiter-floor-bff:dev ``` ## Health Probe - Path: `/health` - Fallback path: `/healthz` - Port: `8080` ## Runtime Notes - Exposes REST edge endpoints for waiter assignment, recent activity, and order submit or update flows. - Requires `OperationsService__BaseAddress` to resolve the upstream operations-service runtime. - Requires `ThalosAuth__BaseAddress` to resolve Thalos session introspection endpoint. - Returns standardized auth failures (`401|403|503`) with `x-correlation-id` propagation. ## 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 - Waiter-floor now delegates workflow snapshots to `operations-service`, but the upstream operations adapter still serves deterministic demo data rather than database-backed state. - Demo PostgreSQL seeds validate integration contracts and smoke determinism, but do not yet imply full persistence implementation parity.