Docker / Microservices test project.
Based on PiggyMetrics.
- Kotlin
- Gradle
- Spring Cloud
- MongoDB
- Travis CI
- Docker Hub
Gradle: gradlew clean build
Docker: docker-compose -f docker-compose.yml -f docker-compose.dev.yml build
Be sure, that you have exported environment variables:
export CONFIG_SERVICE_PASSWORD="1"
export ACCOUNT_SERVICE_PASSWORD="1"
export MONGODB_PASSWORD="1"
Instead of "1" it can be any password you want for each service.
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
docker-compose up -d
Open http://localhost:80 in any browser.
- http://localhost:80 - Gateway
- http://localhost:8761 - Eureka Dashboard
- http://localhost:9000/hystrix - Hystrix Dashboard (paste Turbine stream link on the form)
- http://localhost:8989 - Turbine stream (source for the Hystrix Dashboard)
- http://localhost:15672 - RabbitMQ management (default login/password: guest/guest)