Service actions
Server actions for Services: create, update, delete, deploy, scale, domains, volumes, backups, and Nginx config (RBAC via getActionAccess).
Written By Zoro
Last updated 28 days ago
These Server Actions implement most Service lifecycle work in thedashboard: provisioning, configuration, deploys, routing, scaling, and backups.Implementation is concentrated in packages/core/src/actions/service/index.tswith related pieces in deployment/, backups/, dbBackup/, andunifiedDeployment/ where noted.
RBAC: Permission keys for each actionName are defined inpackages/core/src/lib/permissions/config.ts inside getActionAccess.
Create, update, delete
Deploy, stop, restart
createUnifiedDeploymentAction coordinates multi-service / project-style deployflows; see packages/core/src/actions/unifiedDeployment/index.ts.
Domains, TLS, routing
Customer tasks: Domains and SSL under Deployments and Operations in the sidebar and Proxy and routing under Deployments and Operations in the sidebar.
Scaling and resources
Volumes and uploads
Database-specific service operations
Reads and aggregates
Database backups (database Services)
Implementation: packages/core/src/actions/dbBackup/ and packages/core/src/actions/backupStorageProviders/.
Customer guides: Backups and Backups and restore.
Learn more
- Services overview for the product model.
- Project / application actions for Environments and Applications that scope Services.