prooph / pdo-event-store

PDO implementation of ProophEventStore http://getprooph.org
BSD 3-Clause "New" or "Revised" License
111 stars 56 forks source link

Fix docker compose setup for PostgreSQL #223

Closed marcuswinkler closed 4 years ago

marcuswinkler commented 4 years ago

The current version of the PostgreSQL docker container requires a non-empty password to be set. The docker-compose log shows the following error:

Error: Database is uninitialized and superuser password is not specified. postgres_1 | You must specify POSTGRES_PASSWORD to a non-empty value for the postgres_1 | superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run". postgres_1 | postgres_1 | You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all postgres_1 | connections without a password. This is not recommended.

Despite the warning at the end, it is certainly appropriate to trust all connections for the test database.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 84.267% when pulling f1c774ad26c43b447b9ec6c28dafd247d9fdd903 on marcuswinkler:postgres-auth into 1eed69b2a262b906fec5e49b21fe7583575a3f98 on prooph:master.

prolic commented 4 years ago

Thanks!