Service actions
Service-scoped server actions: CRUD, deploy, scale, domains, volumes, backups, Nginx; RBAC via getActionAccess.
Written By Zoro
Last updated 3 days ago
Server Actions
These Server Actions implement most Service lifecycle work in the dashboard: provisioning, configuration, deploys, routing, scaling, and backups. Implementation is concentrated in packages/core/src/actions/service/index.ts with related pieces in deployment/, backups/, dbBackup/, and unifiedDeployment/ where noted.
RBAC: Permission keys for each actionName are defined in packages/core/src/lib/permissions/config.ts inside getActionAccess.
Create, update, delete
Deploy, stop, restart
createUnifiedDeploymentAction coordinates multi-service / project-style deploy flows; 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
Internal backups (database Services)
Customer guide: Backups under Deployments and Operations in the sidebar.
Learn more
- Services overview for the product model.
- Project / application actions for Environments and Applications that scope Services.