I have a legacy app, that is now running in Docker. Setting up links in the docker-compose file works well, but does not seem to work in Rancher. I suspect the app is looking in /etc/hosts directly, or for some other reason needs /etc/hosts updated with the link to IP mappings.
I know the linked services are discoverable in Rancher, but I really don’t want to ask people to change their code “for Rancher”. Is there a way to tell rancher-compose to behave like Docker Compose in this intance? All of the containers are running on the same host, btw. And the stack comes up and runs fine using Docker Compose.