Answer the question
In order to leave comments, you need to log in
How to set up a connection to a remote PostgresSql database from a Docker Container?
Good afternoon!
Made my application on spring-boot . I compiled a build and put it in Docker-Hub . I'm trying to start this application on another server.
But I get just such an error:
Locally, the application naturally works. I understand that this error is due to the fact that I cannot connect to the database and thereby create the correct beans.
Please tell me how I can set up Docker or forward url-bases through NGNIX to make the application work on Docker .
Thank you very much in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question