dekkerlab / cLIMS-docker

cLIMS repository running on Docker Contaienrs
GNU Lesser General Public License v3.0
3 stars 4 forks source link

cLIMS setup on local machine- Postgres update #73

Closed Snehal1894 closed 4 years ago

Snehal1894 commented 4 years ago

While setting up cLIMS on my laptop, I can across an issue related to intializing the database. This is because of the updates in Postgres 9.x images on Docker (it has to do with security). It requires following lines to be added in docker-compose.yml file (either local or production depending on which we are running) environment: POSTGRES_DB: "db" POSTGRES_HOST_AUTH_METHOD: "trust"

More info about this : http://support.divio.com/en/articles/3719228-database-is-uninitialized-and-superuser-password-is-not-specified

nandankita commented 4 years ago

Its new upgrade in Postgres image. Please go ahead with the above mentioned changes in docker-compose.yml files.

sergpolly commented 4 years ago

There are updates in Postgres 9.x images available on Docker Hub, for security purposes. Now we either need to set password for specific user to get the connect or we can explicity mention that we allow all connection. We have done the later. Git hub link for this change is : docker-library/postgres#658

resolved in #70