Documentation Index
Fetch the complete documentation index at: https://www.aptible.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
This command lets you configure Services for a given App.
Synopsis
Usage:
aptible services:settings [--app APP] SERVICE [--force-zero-downtime|--no-force-zero-downtime] [--simple-health-check|--no-simple-health-check] [--restart-free-scaling|--no-restart-free-scaling] [--stop-timeout SECONDS]
Options:
[--app=APP]
--env, [--environment=ENVIRONMENT]
-r, [--remote=REMOTE]
[--force-zero-downtime|--no-force-zero-downtime]
[--simple-health-check|--no-simple-health-check]
[--restart-free-scaling|--no-restart-free-scaling]
[--stop-timeout=SECONDS]
Examples
aptible services:settings --app "$APP_HANDLE" SERVICE \
--force-zero-downtime \
--simple-health-check
aptible services:settings --app "$APP_HANDLE" SERVICE \
--stop-timeout 60
Force Zero Downtime
For Services without endpoints, you can force a zero downtime deployment strategy, which enables healthchecks via Docker’s healthcheck mechanism.
Simple Health Check
When enabled, instead of using Docker healthchecks, Aptible will ensure your container can stay up for 30 seconds before continuing the deployment.
Restart Free Scaling
When enabled, scaling operations that only change the number of containers will not restart existing containers.