FerryDocs

Set variables

Set, remove and list the environment variables of a service.

Edit on GitHub
Terminal
$ 

Each has its own . Ferry has no secret files: each setting is an environment variable.

Change the variables

Terminal
ferry env set api LOG_LEVEL=info 'DATABASE_URL=${{datastore.app-db.connectionString}}'
ferry env unset api LOG_LEVEL
ferry env api                    # the service's own variables
ferry env ls api --effective     # merged with its env groups

ferry env set and ferry env unset the service. Thus the change applies.

  • Add --no-restart to only save.
  • Add --follow to see the restart.

Use single quotes around ${{…}}

Put a value that contains ${{…}} between single quotes. Then your does not change it.

On this page