$ docker-compose up
- http://localhost:8888/statistics-service/default - Config Server
- http://localhost:8761 - Eureka Dashboard
- http://localhost:9000/bestseller - Demo Api
- http://localhost:8765/statistics/bestseller - Zuul Route
- http://localhost:9999/hystrix/monitor?stream=http%3A%2F%2Flocalhost%3A9999%2Fturbine.stream - Hystrix Dashboard
$ ./gradlew buildDocker -Platest
Start the server:
./gradlew :${sub-project}:bootRun
Build docker:
./gradlew :${sub-project}:buildDocker
Push image:
./gradlew :${sub-project}:buildDocker -Ppush
Run image:
docker run -p ${port}:${port} -d utsman/spring-cloud-market-sample-${sub-project}