| lavado | 2cc0ea8 | 2018-05-15 03:24:03 +0000 | [diff] [blame] | 1 | version: '3' |
| 2 | networks: |
| 3 | netOSM: |
| 4 | external: true |
| 5 | services: |
| 6 | kafka-exporter: |
| 7 | image: osm/kafka-exporter |
| 8 | hostname: kafka-exporter |
| 9 | ports: |
| 10 | - "12340:12340" |
| 11 | networks: |
| 12 | - netOSM |
| 13 | prometheus: |
| 14 | image: prom/prometheus |
| 15 | hostname: prometheus |
| 16 | volumes: |
| 17 | - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro |
| 18 | networks: |
| 19 | - netOSM |
| 20 | depends_on: |
| 21 | - kafka-exporter |
| 22 | grafana: |
| 23 | image: grafana/grafana |
| 24 | volumes: |
| 25 | - ./dashboards-osm.yml:/etc/grafana/provisioning/dashboards/dashboards-osm.yml |
| 26 | - ./osm-sample-dashboard.json:/etc/grafana/provisioning/dashboards/osm-sample-dashboard.json |
| 27 | - ./datasource-prometheus.yml:/etc/grafana/provisioning/datasources/datasource-prometheus.yml |
| 28 | hostname: grafana |
| 29 | ports: |
| 30 | - "3000:3000" |
| 31 | networks: |
| 32 | - netOSM |
| 33 | depends_on: |
| 34 | - prometheus |
| 35 | |