Services represent containerized applications or microservices running in your stack. They define the Docker images, commands, and configurations for your application components.
name
stringThe name of the service.
containers
arrayAn array of container objects that belong to this service, showing all running instances.
source_type
stringThe source type for the service image (e.g., git, image).
git_ref
stringThe git reference (branch or tag) used for building this service.
image_name
stringThe Docker image name for this service.
image_uid
stringThe unique identifier of the Docker image.
image_tag
stringThe Docker image tag version.
command
stringThe command that the service containers execute when they start.
build_command
stringThe command used to build the Docker image for this service.
deploy_command
stringThe command executed during deployment of this service.
wrap_command
stringThe wrapper command used to execute the service in specific environments.
desired_count
integerFor Kubernetes-based stacks, the desired number of replicas for this service.
Example
{
"name": "web",
"containers": [
{
"id": "container-123",
"status": "running",
"server_uid": "550e8400-e29b-41d4-a716-446655440001"
},
{
"id": "container-124",
"status": "running",
"server_uid": "550e8400-e29b-41d4-a716-446655440002"
}
],
"source_type": "git",
"git_ref": "main",
"image_name": "myapp/web",
"image_uid": "sha256:1234567890abcdef",
"image_tag": "latest",
"command": "bundle exec rails server -b 0.0.0.0 -p 3000",
"build_command": "bundle install && npm install && npm run build",
"deploy_command": "bundle exec rake db:migrate",
"wrap_command": null,
"desired_count": 3
}