Open Dimanaux opened 4 years ago
Вот проект с микросервисами:https://github.com/ArkharovDias/MicorservicesDockerCompose.git. Для запуска: GATEWAY_PORT=8081 docker-compose up.
Использовал Spring Cloud Gateway, так как Zuul были проблемы. Url-ы чтоб посмотреть работу микросервисов http://localhost:8081/firstservice/hello, http://localhost:8081/secondservice/hello
Create an app or take an example of java app using microservices. Run it with one command, you can use docker or maven/whatever. I want to run microservices app using one command, e.g.
mvn spring-cloud:run
ordocker-compose up
or whatever.