pkgs.varianz.io need no credentials — only the container image does.
Local development (in-memory, plaintext)
- Listens on gRPC port 50051 (dual-stack). It logs
LocalRegistry listening on http://[::]:50051when ready. - State is in-memory — sessions, stages, and registrations reset on restart. That’s usually what you want for dev and CI.
REGISTRY_INSECURE_PLAINTEXT=true(or the--insecure-plaintextflag) lets the server accept plaintext connections. The server is TLS-required by default and refuses to start without either TLS material or this flag.
VARIANZ_INSECURE_ALLOW_PLAINTEXT=true in their environment — both sides must agree.
Docker tags are v-prefixed (v0.2.1), unlike the package-manager versions (0.2.1).
Flags and environment
TLS for shared environments
For anything beyond a laptop — a shared dev cluster, CI infrastructure others connect to — run the registry with TLS:VARIANZ_TLS_CA (client TLS settings).
CI tips
- Bind
--port 0and parse the logged port to avoid collisions between parallel jobs, or give each job its own container network. - Start the registry before the services under test: services register their VPoints at startup (fail-open with a ~5s timeout, so a late registry means lazily-degraded VPoints rather than crashes — but tests will then see zero subscribers).
