composeService type services are not added to Route53

I have a docker stack that is started with Docker Compose on a VM Host in my Rancher environment. I need to be to access services in this stack from outside of Rancher. My hope was that I could add io.rancher.container.network: “true” to each of the services in my docker-compose.yml and then the Route53 DNS service would pick them up add entries in Route53, since the containers are in the environment.

Didn’t work. Should it work? Are composeService type services supported by the Route53 DNS service.

Rancher DNS service discovery only works for Rancher services. By adding in the label io.rancher.container.network: "true", you are giving your standalone container access to the the internal DNS, but it’s not becoming an actual service in Rancher.