Why: align BFF runtime packaging and remove cross-repo proto coupling in container builds. What: add Docker assets and runbook, map /health, and vendor grpc proto locally. Rule: keep technical intent only and avoid orchestration references.
698 B
698 B
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/thalos-bff:dev .
Local Run
docker run --rm -p 8080:8080 --name thalos-bff agilewebs/thalos-bff:dev
Health Probe
- Path:
/health - Fallback path:
/healthz - Port:
8080
Runtime Notes
- Requires
ThalosService__GrpcAddressto target thalos-service in distributed runs. - gRPC client contract protobuf is vendored at
src/Thalos.Bff.Rest/Protos/identity_runtime.prototo keep image builds repo-local.