Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Docker-compose.yml default postgres user #1972
The user was set as "root" with no password.
Fix docker-compose user to use the postgres default one, so the tests can run.
You should be able to run the tests with only the following commands:
$ npm i $ docker-compose up -d $ npm test
Pretty simple, just remove the defined user, and let it fallback to the postgres image default user.
Well, maybe we could change the user being set for the tests, and set it as root. But that's adding code, whereas removing code is more elegant IMO.