Srikanth Vavilapalli | 3171360 | 2017-03-03 00:50:18 +0000 | [diff] [blame] | 1 | # Docker-compose for CORD Monitoring Service |
| 2 | #TODO: The IP addresses in this file need to be parameterized and set when the monitoring service is instantiated through XOS synchronizer |
| 3 | |
| 4 | rabbit1: |
| 5 | image: "rabbitmq:3-management" |
| 6 | hostname: "rabbit1" |
| 7 | environment: |
| 8 | RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG" |
| 9 | RABBITMQ_DEFAULT_USER: "openstack" |
| 10 | RABBITMQ_DEFAULT_PASS: "password" |
| 11 | RABBITMQ_DEFAULT_VHOST: "/" |
| 12 | ports: |
| 13 | - "15672:15672" |
| 14 | - "5672:5672" |
| 15 | labels: |
| 16 | NAME: "rabbitmq1" |
| 17 | |
| 18 | mongodb1: |
| 19 | image: "mongo:3.4" |
| 20 | ports: |
| 21 | - "27017:27017" |
| 22 | labels: |
| 23 | NAME: "mongodb1" |
| 24 | |
| 25 | kafka1: |
| 26 | image: "spotify/kafka" |
| 27 | hostname: "kafka1" |
| 28 | ports: |
| 29 | - "2181:2181" |
| 30 | - "9092:9092" |
| 31 | environment: |
| 32 | ADVERTISED_HOST: "10.0.5.5" |
| 33 | ADVERTISED_PORT: "9092" |
| 34 | labels: |
| 35 | NAME: "kafka1" |
| 36 | |
| 37 | ceilo-notification1: |
| 38 | image: "srikanthvavila/ceilometer-agent-notification" |
| 39 | labels: |
| 40 | NAME: "ceilometer-agent-notification" |
| 41 | links: |
| 42 | - rabbit1 |
| 43 | - mongodb1:mongodb |
| 44 | environment: |
| 45 | RABBIT_TRANSPORT_URL: rabbit://openstack:password@rabbit1:5672// |
| 46 | KAFKA_PUBLISHER_URL: kafka://10.0.5.5:9092/topic=ceilometer |
| 47 | USE_MONGODB: 1 |
| 48 | |
| 49 | cord-publish-subscribe: |
| 50 | image: "srikanthvavila/cord-publish-subscribe" |
| 51 | ports: |
| 52 | - "4455:4455" |
| 53 | labels: |
| 54 | NAME: "cord-publish-subscribe" |
| 55 | environment: |
| 56 | KAFKA_URL: kafka://10.0.5.5:9092/topic=ceilometer |