Skip to content
Registry StackDocsv0.34.0

bregctl dev start command reference

View as Markdown

Start or reuse the project’s retained local database and services.

This page is generated from the public Clap command tree for Registry Stack source version 0.34.0 and catalog SHA-256 521175a69262e60df96745886392348e5bb8d82e63cdd24bdf4baa80d46e5ff4. Hidden implementation commands are omitted.

Start or reuse the project’s retained local database and services. A resident supervisor owns this project’s PostgreSQL and ThunderID containers plus its Base Registry Engine (BReg) child. The database runs the pinned image postgres:17.11@sha256:67f41722b7a8cbdb868a44a4995c846eddfdc2973bccb291ce937dce88ad5675, or, when the compiled schema requires PostGIS, postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6, which the supervisor pulls on the first start. Each supervised prerequisite command may run for 120 seconds, and the database and each started service have 45 seconds to answer as ready. A start that passes a deadline fails, stops what it acquired, and keeps its owner-only diagnostics in the project’s private .breg/dev/logs directory. Catchable termination signals trigger owned cleanup, but an uncatchable outside kill can leave surviving service owners that need inspection before restart. products/breg/DEV.md documents this lifecycle in ‘Native local BReg lifecycle’ and its recovery in ‘Retained state and recovery’.

bregctl dev start [OPTIONS] [PROJECT]
ArgumentAlways requiredDefaultValuesEnvironmentDescription
[PROJECT]No.n/an/aExisting authored registry project. Its package environment must be local. A symbolic link at any component of this path is refused.
OptionAlways requiredDefaultValuesEnvironmentDescription
--clients-file <FILE>Non/an/an/aLocal clients, profile bindings, and optional seed records (default on first start: dev-clients.yaml in the project; retained for restarts). A symbolic link at any component of this path is refused.
--breg-port <BREG_PORT>Non/an/an/aRegistry loopback port on first start (default 8090; retained for restarts)
--issuer-port <ISSUER_PORT>Non/an/an/aLocal issuer loopback port on first start (default 8091; retained for restarts)
--issuer-project <PROJECT>Non/an/an/aReady Base Registry Engine (BReg) dev project that owns the shared local issuer and client registrations. A symbolic link at any component of this path is refused.
--issuer-image <ISSUER_IMAGE>Non/an/an/aImmutable local candidate issuer image ID on first start; retained for restarts
--mint-port <MINT_PORT>Non/an/an/aRetained spelling from earlier Mint-based dev sessions; refused with legacy-session guidance rather than silently ignored
--mint-bin <MINT_BIN>Non/an/an/aRetained spelling from earlier Mint-based dev sessions; refused with legacy-session guidance rather than silently ignored
--database-port <DATABASE_PORT>Non/an/an/aPostgreSQL loopback port on first start (default 55432; retained for restarts)
--format <FORMAT>Nohumanhuman, jsonn/aEmit the selected command’s report in this format
-h, --helpNon/an/an/aPrint help (see a summary with ‘-h’)

Run npm run generate from docs/site after changing a public command, argument, option, default, environment binding, or help description.