Nacelle

Go service framework
/

Postgres environment variable configuration

Environment variables available to the Nacelle process change the behavior of Postgres interactions.


Environment VariableRequiredDefaultDescription
DATABASE_URLyesThe connection string of the remote database.
LOG_SQL_QUERIESfalseWhether or not to log parameterized SQL queries.
MIGRATIONS_TABLEschema_migrationsThe name of the migrations table.
MIGRATIONS_SCHEMA_NAMEdefaultThe name of the schema used during migrations.
FAIL_ON_NEWER_MIGRATION_VERSIONfalseIf true, fail startup when the database migration version is newer than the known set of migrations.