FerryDocs
Concepts

Environment & env groups

A service gets its variables from Ferry, from env groups and from its own settings. Ferry resolves references at start.

Edit on GitHub
FerryPORT, FERRY_*Env groupsshared variablesServiceits own variablesEnvironmentmergedapp-dbdatastoreContaineryour app

Ferry adds its own variables first: PORT and FERRY_*.

1 / 5

Each has its own . To share variables, put them in an and link the group to your services.

A value can be a to a or to a different service: ${{…}}. Ferry puts the real value there when the service starts.

Set a variable

Terminal
ferry env set api LOG_LEVEL=info 'DATABASE_URL=${{datastore.app-db.connectionString}}'

In this section

On this page