In this post, we are going to use two different docker containers (one of them is back-end and the other one is front-end) and we will communicate via REST API between these two applications.
The overall picture will be like the diagram below
[Image]
To do so, we need to find the IP address of the spring application and pass it to the front-end as API URL.
For the local env. we may use localhost: for the URL.
So if we are running our spring boot application on localhost:8090 we can use that URL as the API URL.
"Network between Docker Microservices"
No comments yet. -