Restart loop: "Server failed to start" - error: getaddrinfo EAI_AGAIN voidauth-db #480
Replies: 9 comments 4 replies
|
Reading various suggested solutions to this getaddrinfo EAI_AGAIN issue, I tried turning voidauth-db into a preexisting external bridge network. Alas, with the same result. |
|
Following this recommendation did not help |
|
And commenting out the |
|
Replacing all variable substitution in the compose file with direct values doesn't help either |
|
I could do with some expert help here. Anyone? |
|
One more thing that I could think of... the error message complains about not being able to get address information about voidauth-db |
|
Hello, the VoidAuth environment variable |
|
Thanks for that pointer and explanation.
|


Hello, the VoidAuth environment variable
DB_HOSTis the domain that VoidAuth should be able to use to reach the DB. In docker compose, the services in the same compose file can address each-other by their service name, and docker handles the DNS between them. Yours is not working probably because your postgres DB service is nameddbinstead ofvoidauth-db. You can try to fix this issue by either renaming your postgres service tovoidauth-dbor changing yourDB_HOSTvariable toDB_HOST=db. Let me know if that helps.