kitchen-ops-web/docs/runbooks/containerization.md
José René White Enciso cf929cd1d2 feat(kitchen-web): add web baseline
Why: establish baseline web runtime scaffold before wave implementation.

What: add react app structure, docker runtime assets, docs runbooks, and ignore policy updates.

Rule: keep technical intent and repository workflow compliance.
2026-03-08 15:53:49 -06:00

28 lines
517 B
Markdown

# Containerization Runbook
## Image Build
```bash
docker build -t agilewebs/kitchen-ops-web:dev .
```
## Local Run
```bash
docker run --rm -p 8080:8080 \
-e API_BASE_URL=http://host.docker.internal:8080 \
--name kitchen-ops-web agilewebs/kitchen-ops-web:dev
```
## Runtime Configuration Strategy
- Build-time fallback: `VITE_API_BASE_URL`
- Runtime override: container env `API_BASE_URL`
- Runtime file generated at startup: `/runtime-config.js`
## Health Check
```bash
curl -f http://localhost:8080/
```