Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cLIMS setup on local machine- Postgres update #73

Closed
Snehal1894 opened this issue Mar 24, 2020 · 2 comments
Closed

cLIMS setup on local machine- Postgres update #73

Snehal1894 opened this issue Mar 24, 2020 · 2 comments

Comments

@Snehal1894
Copy link
Contributor

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
Copy link
Collaborator

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

@sergpolly
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants