operations-dal/docs/runbooks/containerization.md
2026-03-31 18:06:29 -06:00

41 lines
1.1 KiB
Markdown

# Containerization Runbook
## Image Build
```bash
docker build --build-arg NUGET_FEED_USERNAME=<gitea-login> --build-arg NUGET_FEED_TOKEN=<gitea-token> -t agilewebs/operations-dal:dev .
```
## Local Run
```bash
docker run --rm -p 8080:8080 --name operations-dal agilewebs/operations-dal:dev
```
## Health Probe
- Path: `/health`
- Fallback path: `/healthz`
- Port: `8080`
## Runtime Notes
- Exposes internal DAL probe endpoints for operations configuration reads/writes.
- Exposes internal restaurant lifecycle endpoints for shared order/check and event history access.
## 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 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.