FerryDocs

When changes apply

A saved change applies at the next deploy or restart, because each deploy keeps a snapshot of its environment.

Edit on GitHub

Save. Ferry saves the new value. The instances that run keep the old value.

1 / 5
What ferry env set does

Ferry freezes the environment of a when the deploy starts its instances. This is the .

All that starts containers for that deploy later uses the snapshot: crash replacements, scaling, a resume, and jobs. Thus a saved change applies only at the next deploy or .

What Ferry does after a change

ferry env set, ferry env unset and the API with restart=true restart the service only if it has something to restart.

State of the serviceResult
LiveFerry puts a restart in the queue ( env_change).
A deploy in progressThe restart waits in the queue behind it. Thus you do not lose the new values.
Never deployedNothing restarts. The first deploy uses the new values.
SuspendedNothing restarts. After ferry resume, run ferry restart NAME to apply the change.

On this page