Add, Remove, and Turn Off Capsules
Add a Capsule
To add a new Capsule, click the yellow + button in the bottom-left corner of the dashboard and select New Capsule.

Choose the Capsule Type, Team, and Space. Click Next to confirm.

Configure the Plan
Configure the Capsule's resources by choosing a plan. To customize resources to suit your needs, select Custom and move the sliders to increase or decrease CPU, RAM, and Replica Scale. Click Next.

Connect to a Repo
Code Capsules connects to your version control provider to deploy applications from your repositories. You need to give Code Capsules permission to access the repository you want to use.
To connect a Capsule to your repository:
Select the repository from the dropdown. If you haven't yet linked your Code Capsules account to a version control provider, click Configure Git for Code Capsules and follow the prompts.
Select the branch to deploy from.
Select the folder the Capsule will build from, or leave this field blank to build from the root of the branch.

Configure the Capsule
Capsule-specific settings depend on the type of Capsule you're creating. For example, if you're adding a Frontend Capsule, you'll specify a build command, the path to the project's static files, and a name.
Click Create Capsule to complete the setup.

Remove a Capsule
To delete a Capsule, navigate to the Capsule Details page, scroll to the end, and click Remove Capsule.

In the confirmation dialog, enter the Capsule's name and click Delete.
You cannot reverse this action. The Capsule cannot be recovered once deleted.
Turn Off a Capsule
To turn off a Capsule, toggle the switch at the top-right corner of the Capsule Details page.

Turning a Capsule off is useful when adding or updating environment variables. You’ll need to restart the Capsule after a few seconds for the changes to take effect.
You can also turn off a Capsule during periods of inactivity to reduce costs.
Last updated
Was this helpful?