I have two images- caller and callable.
When using docker compose and hitting the url of callable from caller image container, it is not working.
My docker compose file
version: "3.7" services: callerc: image: caller:1.0 ports: - "8000:8084" environment: - URL=callmec/callMe callmec: image: callable:1.0 ports: - "5000:8082"
I get URI not absolute. When i try URL parameter as – http://callmec/callMe” then also it doens’t work and says Connection refused.
But when I give the URL as my Machine IPv4 address – http://172.XX.XX.XX/callMe then it works.
Kindly guide in case I have missed something.