Sergio Slobodrian | f39aaf8 | 2017-02-28 16:10:16 -0500 | [diff] [blame] | 1 | version: '2' |
| 2 | services: |
| 3 | # |
| 4 | # Dashboard daemon |
| 5 | # |
| 6 | dashd: |
| 7 | image: cord/dashd |
| 8 | 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: |
| 17 | - consul |
| 18 | - kafka |
| 19 | - grafana |
| 20 | restart: unless-stopped |
Sergio Slobodrian | 9358bd4 | 2017-03-10 22:52:24 -0500 | [diff] [blame] | 21 | |
| 22 | # |
| 23 | # Single-node kafka service |
| 24 | # |
| 25 | kafka: |
| 26 | image: wurstmeister/kafka |
| 27 | |
| 28 | # |
| 29 | # Single-node consul agent |
| 30 | # |
| 31 | consul: |
| 32 | image: consul:latest |
| 33 | |
| 34 | # |
| 35 | # Graphite-Grafana-statsd service instance |
| 36 | # (demo place-holder for external KPI system) |
| 37 | # |
| 38 | grafana: |
| 39 | image: kamon/grafana_graphite |