FerryDocs

Precedence

Ferry builds the environment in three layers, then resolves the references.

Edit on GitHub

1. Ferry. The variables that Ferry injects: PORT and FERRY_*.

1 / 4

Ferry builds the environment of a container in layers. A later layer wins. This is the .

Ferry resolves the references after the merge. Thus a can be in an , and each linked service gets it.

See the merged set

Terminal
ferry env NAME --effective

The command prints the before Ferry resolves the references.

The variables that Ferry injects

VariableFor
PORTServices that listen on a port
FERRY=true, FERRY_SERVICE_ID, FERRY_SERVICE_NAME, FERRY_SERVICE_TYPE, FERRY_DEPLOY_ID, FERRY_INTERNAL_HOSTNAMEEach service
FERRY_GIT_COMMIT, FERRY_GIT_BRANCHDeploys from git
FERRY_EXTERNAL_HOSTNAME, FERRY_EXTERNAL_URLPublic services

See Environment and env groups and Injected variables.

On this page