blob: b4c746c907f9ff525cc4d63c6c0cb0df9b6ca562 [file] [log] [blame]
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Docker-compose for CORD Monitoring Service
#TODO: The IP addresses in this file need to be parameterized and set when the monitoring service is instantiated through XOS synchronizer
rabbit1:
image: "rabbitmq:3-management"
hostname: "rabbit1"
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "openstack"
RABBITMQ_DEFAULT_PASS: "password"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
- "5672:5672"
labels:
NAME: "rabbitmq1"
mongodb1:
image: "mongo:3.4"
ports:
- "27017:27017"
labels:
NAME: "mongodb1"
kafka1:
image: "spotify/kafka"
hostname: "kafka1"
ports:
- "2181:2181"
- "9092:9092"
environment:
ADVERTISED_HOST: "10.0.5.5"
ADVERTISED_PORT: "9092"
labels:
NAME: "kafka1"
ceilo-notification1:
image: "srikanthvavila/ceilometer-agent-notification"
labels:
NAME: "ceilometer-agent-notification"
links:
- rabbit1
- mongodb1:mongodb
environment:
RABBIT_TRANSPORT_URL: rabbit://openstack:password@rabbit1:5672//
KAFKA_PUBLISHER_URL: kafka://10.0.5.5:9092/topic=ceilometer
USE_MONGODB: 1
cord-publish-subscribe:
image: "srikanthvavila/cord-publish-subscribe"
ports:
- "4455:4455"
labels:
NAME: "cord-publish-subscribe"
environment:
KAFKA_URL: kafka://10.0.5.5:9092/topic=ceilometer