StackRivet reads its configuration from environment variables (with sensible local defaults), so the same artifact runs in every environment. Secrets stay in the environment and are never committed.
The groups below are the settings you’ll use most often. A common local pattern:
Terminal window
set-a && source.env && set+a# load all of the below at once
These feed the stackrivet.asset.* block (storage-type, max-file-size, allowed-extensions, signed-url-ttl). See Configure object storage for the full mapping and the region-match caveat.
Spring profiles, e.g. dev or dev,otel to enable the OpenTelemetry profile
For environment-specific deployment, keep secrets in the runtime environment and document each deployment’s selected values in your own operations runbook.