Connect Application to DB from another ServiceStack #1803
Unanswered
m-stokowski
asked this question in
Q&A
Replies: 3 comments 2 replies
-
Same question here... |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you are using Another workaround is to use Dockerfile based deployment. |
Beta Was this translation helpful? Give feedback.
1 reply
-
and with a docker compose? what internal dns can I use? localhost not working mapping the ports |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to connect an App to DB from another service stack on the same server without making DB accessible over the internet.
My config looks like this:
I would like to connect "app2" to DB from service stack "A" ("mysql" container) but every time i try to deploy "app2" build process fails when it tries to pull data from DB.
In environment variables of "app2" i tried setting DB_HOST to:
DB_PORT is set to 3306.
What am I doing wrong and what is the proper way to connect both containers?
Beta Was this translation helpful? Give feedback.
All reactions