This repository was archived by the owner on Jun 2, 2021. It is now read-only.
Commit 8a9edf4
authored
Support referencing env vars in the postgresql configuration
Adds support for referencing `$DATABASE_HOSTNAME` and similar env vars as the value of the configuration; the `$` will be the trigger in this case and checks the environment if the key exists before using it, otherwise falling back on the value given. This then allows for hosts/users/pw and so on that would start with `$`1 parent 884aad3 commit 8a9edf4
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
280 | 286 | | |
281 | | - | |
| 287 | + | |
282 | 288 | | |
283 | | - | |
| 289 | + | |
284 | 290 | | |
285 | 291 | | |
286 | 292 | | |
| |||
0 commit comments