Skip to content

Glossary: Docker Basics

DATABASE_URL

Also written: database URL

The environment variable the app reads to find its database, in the form `postgresql://USER:PASSWORD@HOST:PORT/DATABASE`. The host is the database container's name, such as `db`.

Where the book teaches it

Related terms

Environment variablepsycopgDNS