Dimanaux / java-lab-iaas-2020

MIT License
0 stars 0 forks source link

Run Java microservices app IN DOCKER #31

Open Dimanaux opened 4 years ago

Dimanaux commented 4 years ago

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 or docker-compose up or whatever.

ArkharovDias commented 4 years ago

Вот проект с микросервисами:https://github.com/ArkharovDias/MicorservicesDockerCompose.git. Для запуска: GATEWAY_PORT=8081 docker-compose up.

ArkharovDias commented 4 years ago

Использовал Spring Cloud Gateway, так как Zuul были проблемы. Url-ы чтоб посмотреть работу микросервисов http://localhost:8081/firstservice/hello, http://localhost:8081/secondservice/hello