Support custom PGPASSFILE in docker#2156
Conversation
|
Ok I've verified the changes to the best of my ability. Running the new code with PGPASSFILE bypasses all pgpassfile logic (errors due to not running as root). Running without a PGPASSFILE set falls through to the old logic (which now has improved documentation) |
|
pinging @sgillespie since thats the username I see on most of these files. Sorry about the extra review/noise. I wasn't able to figure out how to run the nix tests. This test file seemed relevant, but I couldn't figure out the syntax to run it which meant I also didn't feel safe updating it. |
sgillespie
left a comment
There was a problem hiding this comment.
Thanks for the contribution! This is a great addition, I have nothing further to add.
|
@kderme Are you okay to go ahead and merge this? Can we also go ahead and include it in the next release? |
|
Just noticed it needs a verified signature. Should I set that up or is a codeowner allowed to co-author/co-sign? Just let me know. Thanks. |
You don't need to worry about this, it's basically dead. It doesn't run in CI and doesn't have enough to be useful anyways.
I could always co-author by rebasing. Either way, I would recommend adding a GPG signing to Git and your GitHub profile anyways, especially if you want to keep contributing to the Cardano ecosystem. Otherwise, you'll always be fighting conventions. |
f497b78 to
5ca4182
Compare
|
thanks @sgillespie commits signed |
Description
PR for Issue #2149
Update Docker configuration to allow PostgreSQL connection details to be provided via Docker secrets or a .pgpass file using the PGPASSFILE environment variable. This makes the individual POSTGRES_* variables optional.
Checklist
fourmoluon version 0.17.0.0 (which can be run withscripts/fourmolize.sh)Migrations
If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.