Unable to access DB using Internal Connection URL
Hi, I have created a Postgres DB and it is working fine. In the same project, I have created another compose based Application (lets call it core). When I am trying to access the DB from core using Internal Connection URL, the system says it is not able to find the database. However, it works when I use External Connection URL. How can I resolve this without needing to use external connection url?
4 Replies
Ok, I think I found the issue. For anyone else with the same issue, make sure your docker containers all belong to the same network.
Hello @Pathik, how did you manage to get them on the same network? When I set the network for my build I get:
If this is how your compose looks, share your compose file here
I found out that during build you can't connect to the dokploy-network