How to access database resource from my application resource? #5462
Unanswered
junedkhatri31
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have deployed postgres database in coolify in one of my project.
And I have another resource which is my application. In my application I want to access database.
I can do that in
docker-compose.yml
using hostname. But I can't find database's hostname in coolify anywhere.Upon
docker inspect <database>
, there are random generated hostname attached. I want to attach user freindly hostname using which I can connect to my database.Not sure what am I missing here.
Beta Was this translation helpful? Give feedback.
All reactions