Configuring the URL of the Discovery Service in the other Content Delivery microservices
Each microservice needs to connect to the Discovery Service, and is preconfigured to look for the Discovery Service endpoint at the default URL http://localhost:8082/discovery.svc. But if the Discovery Service runs on a different host, under a different port number, or both, then, in the cd_storage_conf.xml file of the microservice, you need to find the ConfigRepository element and set its ServiceUri attribute to your custom Discovery Service URL.