Channels

Channels in Serverize help organize your deployments into distinct environments. Each project comes with two built-in channels that serve different purposes.

Each of which maintains its own:

Note

Channel creation is not currently supported. You getdev and preview channels by default. [!TIP] The channel name is optional in the CLI commands. If omitted, the default channel (dev) is used.

Managing Secrets

Each channel has its own secrets:

# Development secrets
npx serverize secrets set DATABASE_URL=dev-db -p api -c dev
# Preview secrets
npx serverize secrets set DATABASE_URL=preview-db -p api -c preview

See the Secrets page for more information.