bcgov / patroni-postgres-container

Patroni Postgres container based of the oficial Postgres images from Docker Hub
Apache License 2.0
4 stars 14 forks source link

Handle changing root user password #10

Open patricksimonian opened 2 years ago

patricksimonian commented 2 years ago

Summary

Some services (like aqua) connect to the default user 'postgres' but with a custom password. Although this behaviour can probably be changed I figured it be nice to handle updating the postgres user with a password.

My bash skills aren't sharp. hope the if statement is correct!