FerryDocs

Keys that you remove

A build or deploy key that you remove from the file goes back to its default at the next apply.

Edit on GitHub
ferry.yaml (edited)
 services:
   - type: worker
     name: queue
     repo: https://github.com/acme/queue
-    buildCommand: npm ci
-    autoDeploy: false
-    numInstances: 2

The build and deploy settings in a blueprint are declarative. The file gives the full state of these settings, not only the changes.

At the next apply

Key removed from the fileThe service that exists
buildCommandHas no build command.
autoDeployHas auto-deploy true.
Each other build or deploy keyGets its default.
numInstancesKeeps its number of instances.
domainsKeeps its domains.
plan, memoryLimit, cpuLimitKeeps each resource limit that the entry does not set.
repo and imageKeeps its source: the repo with its branch, or the image.

Four things stay, the others go back to the default

Ferry keeps only the number of instances, the domains, the limits and the source. For each other key, write the value in the file if you want to keep it.

Variables follow a different rule: a variable that is not in the file stays. See Guarantees.

On this page