Capabilities
Lifecycle Workloads
Application Lifecycle Workloads
Run custom logic during deployment phases.
| Framework | Support Type |
|---|---|
| Next.js | monolayer SDK |
| Other | Auto-detection / Procfile |
bootstrap: initialization scripts or setup tasks (such as seeding initial data) when your application environment is set up (only once).beforeRollout: run actions immediately before rolling out the new deployment version of your application.afterRollout: run secondary actions immediately after a successful application rollout.createDatabase: define custom database creation commands. monolayer executes this command during the initial environment deployment (only once).
Procfile only
Use bootstrap when using the SDK.
migrateDatabase: Use this process to define custom database schema migrations. monolayer executes this command during every deployment before the new application version is served. Procfile only, use beforeRollout when using the SDK
Procfile only
Use beforeRollout when using the SDK.