FerryDocs

envVarGroups

Each entry of envVarGroups creates one env group. A service links to it with fromGroup.

Edit on GitHub
ferry.yaml
envVarGroups:
  - name: shared-settings
    envVars:
      - key: APP_ENV
        value: production

services:
  - type: web
    name: hello
    envVars:
      - fromGroup: shared-settings   # the link to the group

An is a set of variables that many services share. See Env groups.

The keys

KeyTypeDefaultNotes
namestringrequiredThe name of the env group: 1 to 64 letters, digits, -, _ or ..
envVarslistnoneThe variables of the group. They have the same forms as the variables of a service, but not fromGroup. See envVars entries.

Which value wins

  • The own variables of a service win over the variables of its groups.
  • A group with a later link wins over a group with an earlier link.

See Which value wins.

On this page