FerryDocs

Deploy with a reference

The variable keeps a reference. Each container gets the real database URL when it starts.

Edit on GitHub

Run this command from the notes directory.

Terminal
$ 

What the reference does

${{datastore.notes-db.connectionString}} is a reference. The variable keeps the as you wrote it. Each gets the real URL when it starts. The URL uses the : notes-db:5432.

PartMeaning
datastoreThe kind of thing
notes-dbThe name of the datastore
connectionStringThe property: the internal URL

The Env var references page lists all the properties.

Keep the single quotes

Without the single quotes, your changes the text of the reference before ferry gets it.

On this page