Skip to main content

Environments

Synapse is coming soon! This page previews the environment functionality.
Manage multiple environments for your application.

Environment Types

TypePurpose
ProductionLive application
StagingPre-production testing
PreviewPer-PR environments
DevelopmentShared dev environment

Configuration

# .brainzlab/synapse.yml
environments:
  production:
    url: app.example.com
    replicas: 3
    auto_deploy: false

  staging:
    url: staging.example.com
    replicas: 1
    auto_deploy: true
    branch: main

  preview:
    url: "pr-{{PR_NUMBER}}.example.com"
    auto_deploy: true
    cleanup_after: 7 days

Environment Variables

Set per-environment variables in the dashboard:
  • Secrets (encrypted)
  • Configuration values
  • Feature flags

Coming Soon

Join Waitlist

Get notified when Synapse launches