blob: 58d7cd8d39938840f842d6e4e515ed4582333b14 [file] [log] [blame]
Sergio Slobodrianf39aaf82017-02-28 16:10:16 -05001version: '2'
2services:
3 #
4 # Dashboard daemon
5 #
6 dashd:
David K. Bainbridge737b74f2018-01-22 12:57:52 -08007 image: "${REGISTRY}${REPOSITORY}voltha-dashd:${TAG:-latest}"
Sergio Slobodrianf39aaf82017-02-28 16:10:16 -05008 command: [
9 "/dashd/dashd/main.py",
10 "--kafka=@kafka",
11 "--consul=${DOCKER_HOST_IP}:8500",
12 "--grafana_url=http://admin:admin@${DOCKER_HOST_IP}:8882/api",
13 "--topic=voltha.kpis",
14 "--docker_host=${DOCKER_HOST_IP}"
15 ]
16 depends_on:
Jonathan Hart87314cd2018-02-12 17:15:35 -080017 - vconsul
Sergio Slobodrianf39aaf82017-02-28 16:10:16 -050018 - kafka
19 - grafana
20 restart: unless-stopped
Sergio Slobodrian9358bd42017-03-10 22:52:24 -050021
22 #
23 # Single-node kafka service
24 #
25 kafka:
David K. Bainbridgebba65ff2018-01-19 09:26:09 -080026 image: "${REGISTRY}wurstmeister/kafka:${KAFKA_TAG:-latest}"
Sergio Slobodrian9358bd42017-03-10 22:52:24 -050027
28 #
29 # Single-node consul agent
30 #
Jonathan Hart87314cd2018-02-12 17:15:35 -080031 vconsul:
David K. Bainbridgebba65ff2018-01-19 09:26:09 -080032 image: "${REGISTRY}consul:${CONSUL_TAG:-0.9.2}"
Sergio Slobodrian9358bd42017-03-10 22:52:24 -050033
34 #
35 # Graphite-Grafana-statsd service instance
36 # (demo place-holder for external KPI system)
37 #
38 grafana:
David K. Bainbridgebba65ff2018-01-19 09:26:09 -080039 image: "${REGISTRY}kamon/grafana_graphite:${TAG:-latest}"