We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to deploy a Rails app using nixpacks, I get this error:
PG::ConnectionBad: could not translate host name "northcentralai-postgres-031ff5" to address: Name or service not known (PG::ConnectionBad)
Is there some extra step to make the postgres host name available to the rails app?
OS: Ubuntu 24.04 Host: Hetzner Dokploy: 0.10.0 Postgres Image: postgres:16 Ruby: 3.3.5
Application, Databases
No response
The text was updated successfully, but these errors were encountered:
I tried switching the builder to use a Dockerfile and I tried Heroku Buildpacks. Both ran into the same issue connecting to the database
Sorry, something went wrong.
Duplicate of #507
No branches or pull requests
To Reproduce
Current vs. Expected behavior
When trying to deploy a Rails app using nixpacks, I get this error:
PG::ConnectionBad: could not translate host name "northcentralai-postgres-031ff5" to address: Name or service not known (PG::ConnectionBad)
Is there some extra step to make the postgres host name available to the rails app?
Provide environment information
Which area(s) are affected? (Select all that apply)
Application, Databases
Additional context
No response
The text was updated successfully, but these errors were encountered: