I have a setup similar to the following pseudo docker-compose.yml
services:
app:
build: ./app
message-broker:
build: ./message-broker
app is a node.js app, and I return an html file that makes a GET request to the message-broker service. So my question is:
How do I pass the hostname/IP address of the message-broker service to the front-end so that I can make a request from the node app?