Download
amd64 with arm64. Use latest.txt rather than hard-coding a
version; it contains the current version string, and the tarball path includes that version.
Generate keys
Configure
The control plane reads everything from process environment variables and does not load.env
files itself. Supply them through your shell, service manager, or deployment platform. Minimum:
CUSTOS_DATABASE_URLCUSTOS_LISTEN_ADDRCUSTOS_MASTER_KEY,CUSTOS_SIGNING_PRIVATE_KEY,CUSTOS_SERVER_TRANSPORT_PRIVATE_KEY
Migrate and seed
migrate up creates the schema and is required before create-admin. create-admin prints a
generated password unless you pass --password. Both accept --database-url if you would rather not
set CUSTOS_DATABASE_URL in the environment.
Migrations are embedded in the binary, so the binary and its schema always ship together.
Run
Health endpoints
Point your load balancer at
/readyz and your process supervisor at /livez.