What goes in `DATABASE_URL`?


When you’re setting up bors-ng, you need to hook it up with a PostgreSQL database. If you’re setting it up with Docker or Heroku, you’ll configure the database with the DATABASE_URL environment variable.

Format it like this:


Replace the parts in angle brackets with stuff from your database configuration. If you’re using Docker, the hostname will be the same as your service or container name, and the other options are specified in your database environment. If you’re using Heroku, this environment variable should be provided automatically when you connect the Heroku Postgres service.


AKA (for interwebs research purposes) Postgres Connection URI