docs: add database config strings allowed (#521)

pull/531/head
Jeff Malnick 6 years ago committed by GitHub
parent d406ffc692
commit 863554128a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,4 +24,10 @@ controller {
- `description` - Specifies a friendly description of this controller.
- `database` - Configuration block with one parameter, `url`, for connecting to Postgres.
- `database` - Configuration block with two valid parameters for connecting to Postgres:
- `url` - Configures the URL for connecting to Postgres
- `migration_url` - Can be used to specify a different URL for the migrations, as that
usually requires higher priviledges.
Either can refer to a file on disk (file://) from which a URL will be read; an env
var (env://) from which the URL will be read; or a direct database URL (postgres://).

Loading…
Cancel
Save