Principal › Forums › Ferramentas › Ecossistema spring-boot para microserviços com docker-compose
- This topic has 4 replies, 1 voice, and was last updated 1 week, 2 days ago by HenryOliver.
- AuthorPosts
- IgorGuest
Pessoal, bom dia!
Alguém já precisou subir um ambiente de microserviços com registry e gateway usando spring-boot e docker compose?
Eu estou com esse problema, configurei os services e o gateway do ambiente com a propriedade abaixo.
eureka.client.serviceUrl.defaultZone=http://service-discovery:8761/eureka
meu docker-compose.yml está como abaixo.
version: '3.1' services: service-discovery: build: service-discovery ports: - "8761:8761" auth-service: build: auth-service ports: - "9100:9100" links: - service-discovery:service-discovery depends_on: - service-discovery negocio-service: build: negocio-service ports: - "8100:8100" links: - service-discovery:service-discovery depends_on: - service-discovery api-gateway: build: api-gateway ports: - "8762:8762" links: - service-discovery:service-discovery - auth-service:auth-service - negocio-service:negocio-service depends_on: - service-discovery - auth-service - negocio-service
Mas eu fico tomando o erro
ERROR DiscoveryClient - DiscoveryClient_AUTH_SERVICE/e3b5e6b3396c:web-service:9100 - was unable to refresh its cache! status = Cannot execute request on any known server com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
Agradeço desde já quem puder ajudar.
MURILO ALVES DE OLIVEIRAGuestBoa noite.
Eu também tenho o mesmo problema. Você conseguiu resolver ?
Se sim poderia me explicar ? grato.Mike RooneyGuestI really like the way that you have expressed yourself. There is a lot to be admired from this post. You might want to click onDamaged Bravo Brown Wool Trench Coat
HenryOliverGuestOlá! Bom dia! Seja bem-vindo ao fórum. Como posso ajudá-lo hoje? Se tiver alguma dúvida sobre dissertações em finance dissertation writing help ou precisar de ajuda com algum aspecto específico do seu trabalho, fique à vontade para perguntar. Estou aqui para oferecer suporte e orientação sempre que precisar.
HenryOliverGuestThe “Ecossistema spring-boot para microserviços com docker-compose” presents an intriguing framework for microservices development using Spring Boot and Docker Compose. This approach offers numerous advantages, including scalability, flexibility, and ease of deployment. By leveraging Spring Boot’s robust features and Docker Compose’s containerization capabilities, developers can streamline the development and deployment process, resulting in more efficient and maintainable microservices architectures. Exploring this framework further through research and experimentation could provide valuable insights into optimizing microservices development workflows and enhancing overall system performance research paper writing services.
- AuthorPosts