Painted-Fox / docker-postgresql

A dockerfile that produces a docker image that runs postgresql.
MIT License
72 stars 57 forks source link

Updated first_run.sh to handle non-droppable user #23

Closed rchampourlier closed 10 years ago

rchampourlier commented 10 years ago

If you use the container with existing data and the user already exists and is attached to a database, you will not be able to drop it. It will not be created again, and its password will remain the previous one.

Here we just add a line to alter the user password and ensure we change it in all cases.

Painted-Fox commented 10 years ago

Thank you very much!

rchampourlier commented 10 years ago

Hi,

Thanks for merging this this fast!

Cheers!