Sergio Slobodrian | f39aaf8 | 2017-02-28 16:10:16 -0500 | [diff] [blame] | 1 | version: '2' |
| 2 | services: |
| 3 | # |
| 4 | # Dashboard daemon |
| 5 | # |
| 6 | dashd: |
David K. Bainbridge | 737b74f | 2018-01-22 12:57:52 -0800 | [diff] [blame] | 7 | image: "${REGISTRY}${REPOSITORY}voltha-dashd:${TAG:-latest}" |
Sergio Slobodrian | f39aaf8 | 2017-02-28 16:10:16 -0500 | [diff] [blame] | 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: |
David K. Bainbridge | bba65ff | 2018-01-19 09:26:09 -0800 | [diff] [blame] | 26 | image: "${REGISTRY}wurstmeister/kafka:${KAFKA_TAG:-latest}" |
Sergio Slobodrian | 9358bd4 | 2017-03-10 22:52:24 -0500 | [diff] [blame] | 27 | |
| 28 | # |
| 29 | # Single-node consul agent |
| 30 | # |
| 31 | consul: |
David K. Bainbridge | bba65ff | 2018-01-19 09:26:09 -0800 | [diff] [blame] | 32 | image: "${REGISTRY}consul:${CONSUL_TAG:-0.9.2}" |
Sergio Slobodrian | 9358bd4 | 2017-03-10 22:52:24 -0500 | [diff] [blame] | 33 | |
| 34 | # |
| 35 | # Graphite-Grafana-statsd service instance |
| 36 | # (demo place-holder for external KPI system) |
| 37 | # |
| 38 | grafana: |
David K. Bainbridge | bba65ff | 2018-01-19 09:26:09 -0800 | [diff] [blame] | 39 | image: "${REGISTRY}kamon/grafana_graphite:${TAG:-latest}" |