Skip to content

Environment separation ​

Deployment environments must use separate database state, credentials and explicitly selected application versions. This page describes the separation model; it is not a directory of internal hosts or a statement of current production status.

Respire targetAssigned URL
Websitehttps://rsrs.rs
User dashboardhttps://dash.rsrs.rs
Admin dashboardhttps://admin.rsrs.rs
APIhttps://api.rsrs.rs

These domains are configured separately from older products. Local API development uses http://127.0.0.1:8787; local identity/runtime state is rooted at ~/.rsrs with runtime port 15169. Import previous local accounts explicitly; migration retains the original directories.

Migration writes a .rsrs-migrated.json receipt in the source directory. A failure can occur after the destination has been created, including while writing that receipt. Check the source and destination receipts and migration result before retrying; do not delete either directory without verifying its contents.

flowchart TD
  Change["Reviewed change"] --> Test["Isolated test environment"]
  Test --> Staging["Staging validation"]
  Staging --> Approval["Deployment decision"]
  Approval --> Production["Production environment"]
EnvironmentDataPurpose
DevelopmentSynthetic or isolated dataIteration and integration
StagingApproved isolated copyUpgrade and recovery rehearsal
ProductionLive dataExplicitly controlled deployment
ResourceSeparation requirement
PostgresSeparate database or volume and credentials
SecretsScoped to the intended environment
API and websiteRoute explicitly to their respective services
ImagesSelect immutable or explicitly versioned artifacts
BackupsStore independently; test restoration away from live data

Publishing a Git branch is separate from deploying a service. Inspect the actual repository workflow triggers before making deployment assumptions.

See self-hosting for deployment prerequisites.