asc-lab / dotnetcore-microservices-poc

Very simplified insurance sales system made in a microservices architecture using .NET Core
https://www.altkomsoftware.com/blog/building-microservices-net-core-part-1-plan/
Apache License 2.0
1.9k stars 681 forks source link

Unable to start Postgres from infra-run.sh file #58

Open nibro7778 opened 1 year ago

nibro7778 commented 1 year ago

While running infra-run. sh, its unable to start Postgres database and throws following error

Error: The database is uninitialized and the superuser password is not specified.

Fix:

Need to include environment POSTGRES_HOST_AUTH_METHOD=trust in infra.yml for postgres section