40 lines
1.1 KiB
Markdown
40 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/furniture-dal:dev .
|
|
```
|
|
|
|
## Local Run
|
|
|
|
```bash
|
|
docker run --rm -p 8080:8080 --name furniture-dal agilewebs/furniture-dal:dev
|
|
```
|
|
|
|
## Health Probe
|
|
|
|
- Path: `/health`
|
|
- Fallback path: `/healthz`
|
|
- Port: `8080`
|
|
|
|
## Runtime Notes
|
|
|
|
- Exposes internal DAL lookup endpoints for furniture availability and catalog projections.
|
|
- In-memory demo provider accepts canonical demo IDs (`FURN-001..003`) and aliases (`demo-context`, `FUR-*`, `PRD-*`, `PROD-FURN-*`).
|
|
|
|
## Health Endpoint Consistency
|
|
|
|
- Canonical probe: `/health`
|
|
- Compatibility probe: `/healthz`
|
|
- Container port: `8080`
|
|
|
|
## Demo Integration
|
|
|
|
- Participates in: **furniture** demo compose stack.
|
|
- Integration artifact path: `greenfield/demo/furniture/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.
|