I-am-PUID-0 / DMB

Debrid Media Bridge
MIT License
125 stars 9 forks source link

Postgres. role "root" does not exist. #40

Closed I-am-PUID-0 closed 2 months ago

lukemuller commented 2 months ago

I think you might have to pass -U ${postgres_user} to the pg_isready command (will need to also add the postgres_user to the check_postgresql_started param to be passed down)

https://github.com/I-am-PUID-0/DMB/blob/7154d239b10791068784fb144490960441a83501/utils/postgres.py#L90

Based on this: https://github.com/peter-evans/docker-compose-healthcheck/issues/16

I-am-PUID-0 commented 2 months ago

I think you might have to pass -U ${postgres_user} to the pg_isready command (will need to also add the postgres_user to the check_postgresql_started param to be passed down)

https://github.com/I-am-PUID-0/DMB/blob/7154d239b10791068784fb144490960441a83501/utils/postgres.py#L90

Based on this: peter-evans/docker-compose-healthcheck#16

Thanks! I will test the suggested changes.

I-am-PUID-0 commented 2 months ago

Resolved w/ Version [5.1.7]