Skip to main content

Start Application

Start a stopped application.

Endpoint

Request Body

string
required
ID of the application to start

Example Request

Example Response

Stop Application

Stop a running application.

Endpoint

Request Body

string
required
ID of the application to stop

Example Request

Example Response

Reload Application

Reload the application container configuration without rebuilding.

Endpoint

Request Body

string
required
ID of the application to reload
string
required
Internal application name

Example Request

Example Response

Delete Application

Permanently delete an application and all its resources.

Endpoint

Request Body

string
required
ID of the application to delete
This action is irreversible. All application data, deployments, and configurations will be permanently deleted.

Example Request

Example Response

Mark Application as Running

Manually mark an application’s status as running.

Endpoint

Request Body

string
required
ID of the application

Example Request

Move Application

Move an application to a different environment.

Endpoint

Request Body

string
required
ID of the application to move
string
required
ID of the destination environment

Response

Returns the updated application object with the new environment ID.

Example Request

Example Response

Refresh Token

Generate a new refresh token for the application.

Endpoint

Request Body

string
required
ID of the application

Example Request

Example Response

Traefik Configuration

Read Traefik Config

Retrieve the Traefik configuration for an application.

Endpoint

Query Parameters

string
required
ID of the application

Example Request

Example Response

Update Traefik Config

Update the Traefik configuration for an application.

Endpoint

Request Body

string
required
ID of the application
string
required
New Traefik configuration in YAML format

Example Request

Example Response

Monitoring

Read Application Monitoring

Retrieve monitoring statistics and metrics for an application.

Endpoint

Query Parameters

string
required
Internal name of the application
This endpoint is only available in self-hosted deployments, not in the cloud version.

Example Request

Example Response

Build Management

Kill Build

Terminate an ongoing build process.

Endpoint

Request Body

string
required
ID of the application

Example Request

Clean Queues

Clear the deployment queue for an application.

Endpoint

Request Body

string
required
ID of the application

Example Request

Example Response

Best Practices

Resource Management

  1. Set Resource Limits: Always configure memory and CPU limits to prevent resource exhaustion:
  2. Use Health Checks: Configure health checks to ensure proper application monitoring and automatic recovery.
  3. Clean Old Deployments: Regularly use clearDeployments to free up disk space.

Deployment Strategy

  1. Use Descriptive Titles: Provide meaningful titles and descriptions for deployments to maintain clear audit trails.
  2. Test Before Production: Use preview deployments or separate environments before deploying to production.
  3. Enable Auto Deploy Carefully: Only enable autoDeploy after thorough testing of your CI/CD pipeline.

Security

  1. Protect Secrets: Use buildSecrets for sensitive build-time data instead of buildArgs.
  2. Use Private Registries: For proprietary applications, always use private Docker registries with authentication.
  3. Rotate Tokens: Regularly use the refreshToken endpoint to rotate application tokens.

Monitoring

  1. Check Status Regularly: Monitor applicationStatus to detect issues early.
  2. Use Monitoring Endpoint: Leverage readAppMonitoring to track resource usage and performance.
  3. Configure Alerts: Set up alerts based on memory and CPU thresholds.

Troubleshooting

Deployment Stuck

If a deployment is stuck in running status:
  1. Check the deployment logs
  2. Use killBuild to terminate the build
  3. Use cleanQueues to clear the queue
  4. Retry with redeploy

Application Won’t Start

If an application fails to start:
  1. Check Traefik configuration with readTraefikConfig
  2. Verify resource limits are not too restrictive
  3. Check environment variables are properly configured
  4. Review container logs for errors

Git Provider Issues

If you have Git provider access issues:
  1. Check hasGitProviderAccess in the application response
  2. Reconnect the Git provider if needed
  3. Verify webhook configuration in your Git repository
  4. Ensure the Git provider token hasn’t expired