Why: align service runtime packaging and health endpoints for container execution. What: add Docker build assets, container runbook, and dual health mappings with explicit http/grpc ports. Rule: keep technical intent only and avoid orchestration references.
26 lines
559 B
Markdown
26 lines
559 B
Markdown
# 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=<gitea-login> --build-arg NUGET_FEED_TOKEN=<gitea-token> -t agilewebs/thalos-service:dev .
|
|
```
|
|
|
|
## Local Run
|
|
|
|
```bash
|
|
docker run --rm -p 8080:8080 --name thalos-service agilewebs/thalos-service:dev
|
|
```
|
|
|
|
## Health Probe
|
|
|
|
- Path: `/health`
|
|
- Fallback path: `/healthz`
|
|
- Port: `8080`
|
|
|
|
## Runtime Notes
|
|
|
|
- Exposes internal identity runtime endpoint set and gRPC service.
|