@@ -40,8 +40,8 @@ public/css/*.min.css
conf/custom.ini
fig.yml
-docker-compose.yml
-docker-compose.yaml
+devenv/docker-compose.yml
+devenv/docker-compose.yaml
/conf/provisioning/**/custom.yaml
/conf/provisioning/**/dev.yaml
/conf/ldap_dev.toml
@@ -0,0 +1,9 @@
+# This will proxy all requests for http://localhost:10081/grafana/ to
+# http://localhost:3000 (Grafana running locally)
+#
+# Please note that you'll need to change the root_url in the Grafana configuration:
+# root_url = %(protocol)s://%(domain)s:10081/grafana/
+
+ apacheproxy:
+ build: blocks/apache_proxy
+ network_mode: host
@@ -0,0 +1,11 @@
+ collectd:
+ build: blocks/collectd
+ environment:
+ HOST_NAME: myserver
+ GRAPHITE_HOST: graphite
+ GRAPHITE_PORT: 2003
+ GRAPHITE_PREFIX: collectd.
+ REPORT_BY_CPU: 'false'
+ COLLECT_INTERVAL: 10
+ links:
+ - graphite
@@ -0,0 +1,15 @@
+ elasticsearch:
+ image: elasticsearch:2.4.1
+ command: elasticsearch -Des.network.host=0.0.0.0
+ ports:
+ - "9200:9200"
+ - "9300:9300"
+ volumes:
+ - ./blocks/elastic/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
+ fake-elastic-data:
+ image: grafana/fake-data-gen
+ network_mode: bridge
+ FD_DATASOURCE: elasticsearch
+ FD_PORT: 9200
@@ -0,0 +1,8 @@
+ elasticsearch1:
+ image: elasticsearch:1.7.6
+ - "11200:9200"
+ - "11300:9300"
+# You need to run 'sysctl -w vm.max_map_count=262144' on the host machine
+ elasticsearch5:
+ image: elasticsearch:5
+ command: elasticsearch
+ - "10200:9200"
+ - "10300:9300"
+ fake-elastic5-data:
+ FD_PORT: 10200
+ elasticsearch6:
+ image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.2.4
+ fake-elastic6-data:
+ FD_DATASOURCE: elasticsearch6
+ FD_PORT: 11200
@@ -0,0 +1,16 @@
+ graphite09:
+ build: blocks/graphite
+ - "8080:80"
+ - "2003:2003"
+ - /etc/localtime:/etc/localtime:ro
+ - /etc/timezone:/etc/timezone:ro
+ fake-graphite-data:
+ FD_DATASOURCE: graphite
+ FD_PORT: 2003
@@ -0,0 +1,21 @@
+ graphite:
+ build:
+ context: blocks/graphite1
+ args:
+ version: master
+ - "8125:8125/udp"
+ - "8126:8126"
@@ -0,0 +1,18 @@
+ graphite11:
+ image: graphiteapp/graphite-statsd
+ - "8180:80"
+ - "2103-2104:2003-2004"
+ - "2123-2124:2023-2024"
+ - "8225:8125/udp"
+ - "8226:8126"
+ fake-graphite11-data:
+ FD_PORT: 2103
+ FD_GRAPHITE_VERSION: 1.1
+ depends_on:
+ - graphite11
@@ -0,0 +1,17 @@
+ influxdb:
+ image: influxdb:latest
+ container_name: influxdb
+ - "2004:2004"
+ - "8083:8083"
+ - "8086:8086"
+ - ./blocks/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf
+ fake-influxdb-data:
+ FD_DATASOURCE: influxdb
+ FD_PORT: 8086
@@ -0,0 +1,6 @@
+ jaeger:
+ image: jaegertracing/all-in-one:latest
+ - "127.0.0.1:6831:6831/udp"
+ - "16686:16686"
@@ -0,0 +1,5 @@
+ memcached:
+ image: memcached:latest
+ - "11211:11211"
@@ -0,0 +1,19 @@
+ mssql:
+ context: blocks/mssql/build
+ ACCEPT_EULA: Y
+ MSSQL_SA_PASSWORD: Password!
+ MSSQL_PID: Developer
+ MSSQL_DATABASE: grafana
+ MSSQL_USER: grafana
+ MSSQL_PASSWORD: Password!
+ - "1433:1433"
+ fake-mssql-data:
+ FD_DATASOURCE: mssql
+ FD_PORT: 1433
@@ -0,0 +1,12 @@
+ mssqltests:
+ MSSQL_PID: Express
+ MSSQL_DATABASE: grafanatest
+ mysql:
+ image: mysql:5.6
+ MYSQL_ROOT_PASSWORD: rootpass
+ MYSQL_DATABASE: grafana
+ MYSQL_USER: grafana
+ MYSQL_PASSWORD: password
+ - "3306:3306"
+ command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci, --innodb_monitor_enable=all]
+ fake-mysql-data:
+ FD_DATASOURCE: mysql
+ FD_PORT: 3306
+ mysql_opendata:
+ build: blocks/mysql_opendata
+ MYSQL_DATABASE: testdata
+ - "3307:3306"
+ mysqltests:
+ context: blocks/mysql_tests
+ MYSQL_DATABASE: grafana_tests
+ tmpfs: /var/lib/mysql:rw
+# This will proxy all requests for http://localhost:10080/grafana/ to
+# root_url = %(protocol)s://%(domain)s:10080/grafana/
+ nginxproxy:
+ build: blocks/nginx_proxy
@@ -0,0 +1,10 @@
+ openldap:
+ build: blocks/openldap
+ SLAPD_PASSWORD: grafana
+ SLAPD_DOMAIN: grafana.org
+ SLAPD_ADDITIONAL_MODULES: memberof
+ - "389:389"
+ opentsdb:
+ image: opower/opentsdb:latest
+ - "4242:4242"
+ fake-opentsdb-data:
+ FD_DATASOURCE: opentsdb
+ postgrestest:
+ image: postgres:9.3
+ POSTGRES_USER: grafana
+ POSTGRES_PASSWORD: password
+ POSTGRES_DATABASE: grafana
+ - "5432:5432"
+ command: postgres -c log_connections=on -c logging_collector=on -c log_destination=stderr -c log_directory=/var/log/postgresql
+ fake-postgres-data:
+ FD_DATASOURCE: postgres
+ FD_PORT: 5432
+ context: blocks/postgres_tests
+ POSTGRES_USER: grafanatest
+ POSTGRES_PASSWORD: grafanatest
+ tmpfs: /var/lib/postgresql/data:rw
@@ -0,0 +1,31 @@
+ prometheus:
+ build: blocks/prometheus
+ - "9090:9090"
+ node_exporter:
+ image: prom/node-exporter
+ - "9100:9100"
+ fake-prometheus-data:
+ - "9091:9091"
+ FD_DATASOURCE: prom
+ alertmanager:
+ image: quay.io/prometheus/alertmanager
+ - "9093:9093"
+ prometheus-random-data:
+ build: blocks/prometheus_random_data
+ - "8081:8080"
+ build: blocks/prometheus2
@@ -0,0 +1,26 @@
+ build: blocks/prometheus_mac
@@ -0,0 +1,4 @@
+ snmpd:
+ image: namshi/smtp
+ - "25:25"