Docker deployment of Metrics Micro Services.
This repository creates and deploys the following containers:
- Redis Database for Metrics
- Qualitative Metrics Service
- Source Code Management Metrics&Views Service
- Organization Metrics&Views Service
- Continuous Integration Metrics&Views Service
- Nginx
- SCM: 5003 - 5003
- ORG: 5004 - 5004
- CI: 5005 - 5005
- QI: 5006 - 5006
- Nginx: 80 - 9004
Nginx Path | Container/Path |
---|---|
/qualitative/api | qmetrics/api |
/qualitative/metrics | qmetrics/metrics |
/qualitative/views | qmetrics/views |
/scm/api | scmmetrics/api |
/scm/metrics | scmmetrics/metrics |
/scm/views | scmmetrics/views |
/ci/api | cimetrics/api |
/ci/metrics | cimetrics/metrics |
/ci/views | cimetrics/views |
/org/api | orgmetrics/api |
/org/metrics | orgmetrics/metrics |
/org/views | orgmetrics/views |
- docker > 1.7.0
- docker-compose > 1.3.1
Action | Command |
---|---|
Start | docker-compose up -d |
Stop | docker-compose stop |
Delete | docker-compose rm -f |
Rebuild | docker-compose build |
If you want to change port redirection or configuration, we suggest you:
- Stop
- Delete
- Build (if you have changed any file or physical configuration)
- Start
Before deployment, you need to edit docker-compose.yml and assign values to some environment variables in order to let these services know where Agora and the desired AMQP broker are. These variables are:
- AGORA_HOST
- AGORA_PORT
- BROKER_HOST
- BROKER_PORT
There are two additional environment variables that have to be assigned so as to indicate all metrics' containers how they should publish themselves as seeds in Agora:
- METRIC_HOST
- METRIC_PORT