Replies: 5 comments 5 replies
-
|
@dllabs Hi, i have same problem didnt you find out how to connect it, and even in compose project i cant open terminal to container |
Beta Was this translation helpful? Give feedback.
-
|
I also have same issue... |
Beta Was this translation helpful? Give feedback.
-
|
This is a question I am having now as well, just maybe on a more higher level. Lets say I have deployed my NextJs app through git. Everything is fine, then I chose CoachDB template and added to the project. So , what would be INTERNAL url link that I would be able programmatically call my database from the inside my NextJS application ? |
Beta Was this translation helpful? Give feedback.
-
|
Ah, it seems the answer lies here: #992 |
Beta Was this translation helpful? Give feedback.
-
|
The dedicated databases will always be on the another idea could be to have the database in your docker-compose file, since we now support backups and restore it could be a solution to move it there. there is a feature request to handle networking and so on, I haven't had time yet but I have it in mind. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project
my-projectthat contains a Postgres database calleddb, and a compose app.Dokploy tells me the internal hostname of the database is, say, myproject-db-123456.
When I use that hostname in a container in the compose app, I get an error saying:
could not translate host name "myproject-db-123456" to addressThe only way I've been able to get containers in the compose app to see the database is add a
networks: dokploy-networkoption in docker-compose putting the containers on thedokploy-networkthat Dokploy creates when a domain is added to the compose app.Given that
dokploy-networkis external-facing, I probably don't want to be doing that, do I? So what settings do I add to my docker-compose so they can see a database that has been set up in the same project? What network are databases on?This is the docker-compose I use, with the dokploy-network added:
Beta Was this translation helpful? Give feedback.
All reactions