From 9b25f15bbc92a8fbd49e6879f2f003217dba5c26 Mon Sep 17 00:00:00 2001 From: Bret Comnes <166301+bcomnes@users.noreply.github.com> Date: Thu, 31 Mar 2022 10:49:56 -0700 Subject: [PATCH] Note ENV vars In README Add a small mention about ENV var support. Thank you! --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d6b413a..f141377 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,8 @@ You can specify all the parameters from command line (see below) but the easiest } ``` +You can also set these settings with all ENV vars that [node-postgres](https://node-postgres.com/features/connecting#environment-variables) supports, though this may vary with your driver. (e.g. `PGHOST` `PGHOST` etc) + * Migrate to latest version (it looks settings by default from `.postgratorrc.json`, etc): ``` $ postgrator