mirror of https://github.com/grafana/grafana
parent
6eb15df953
commit
978284bc3d
@ -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 |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: elasticsearch |
||||||
|
FD_PORT: 9200 |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
elasticsearch1: |
||||||
|
image: elasticsearch:1.7.6 |
||||||
|
command: elasticsearch -Des.network.host=0.0.0.0 |
||||||
|
ports: |
||||||
|
- "11200:9200" |
||||||
|
- "11300:9300" |
||||||
|
volumes: |
||||||
|
- ./blocks/elastic/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml |
||||||
@ -0,0 +1,15 @@ |
|||||||
|
# You need to run 'sysctl -w vm.max_map_count=262144' on the host machine |
||||||
|
|
||||||
|
elasticsearch5: |
||||||
|
image: elasticsearch:5 |
||||||
|
command: elasticsearch |
||||||
|
ports: |
||||||
|
- "10200:9200" |
||||||
|
- "10300:9300" |
||||||
|
|
||||||
|
fake-elastic5-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: elasticsearch |
||||||
|
FD_PORT: 10200 |
||||||
@ -0,0 +1,15 @@ |
|||||||
|
# You need to run 'sysctl -w vm.max_map_count=262144' on the host machine |
||||||
|
|
||||||
|
elasticsearch6: |
||||||
|
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.2.4 |
||||||
|
command: elasticsearch |
||||||
|
ports: |
||||||
|
- "11200:9200" |
||||||
|
- "11300:9300" |
||||||
|
|
||||||
|
fake-elastic6-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: elasticsearch6 |
||||||
|
FD_PORT: 11200 |
||||||
@ -0,0 +1,16 @@ |
|||||||
|
graphite09: |
||||||
|
build: blocks/graphite |
||||||
|
ports: |
||||||
|
- "8080:80" |
||||||
|
- "2003:2003" |
||||||
|
volumes: |
||||||
|
- /etc/localtime:/etc/localtime:ro |
||||||
|
- /etc/timezone:/etc/timezone:ro |
||||||
|
|
||||||
|
fake-graphite-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: graphite |
||||||
|
FD_PORT: 2003 |
||||||
|
|
||||||
@ -0,0 +1,21 @@ |
|||||||
|
graphite: |
||||||
|
build: |
||||||
|
context: blocks/graphite1 |
||||||
|
args: |
||||||
|
version: master |
||||||
|
ports: |
||||||
|
- "8080:80" |
||||||
|
- "2003:2003" |
||||||
|
- "8125:8125/udp" |
||||||
|
- "8126:8126" |
||||||
|
volumes: |
||||||
|
- /etc/localtime:/etc/localtime:ro |
||||||
|
- /etc/timezone:/etc/timezone:ro |
||||||
|
|
||||||
|
fake-graphite-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: graphite |
||||||
|
FD_PORT: 2003 |
||||||
|
|
||||||
@ -0,0 +1,18 @@ |
|||||||
|
graphite11: |
||||||
|
image: graphiteapp/graphite-statsd |
||||||
|
ports: |
||||||
|
- "8180:80" |
||||||
|
- "2103-2104:2003-2004" |
||||||
|
- "2123-2124:2023-2024" |
||||||
|
- "8225:8125/udp" |
||||||
|
- "8226:8126" |
||||||
|
|
||||||
|
fake-graphite11-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: graphite |
||||||
|
FD_PORT: 2103 |
||||||
|
FD_GRAPHITE_VERSION: 1.1 |
||||||
|
depends_on: |
||||||
|
- graphite11 |
||||||
@ -0,0 +1,17 @@ |
|||||||
|
influxdb: |
||||||
|
image: influxdb:latest |
||||||
|
container_name: influxdb |
||||||
|
ports: |
||||||
|
- "2004:2004" |
||||||
|
- "8083:8083" |
||||||
|
- "8086:8086" |
||||||
|
volumes: |
||||||
|
- ./blocks/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf |
||||||
|
|
||||||
|
fake-influxdb-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: influxdb |
||||||
|
FD_PORT: 8086 |
||||||
|
|
||||||
@ -0,0 +1,6 @@ |
|||||||
|
jaeger: |
||||||
|
image: jaegertracing/all-in-one:latest |
||||||
|
ports: |
||||||
|
- "127.0.0.1:6831:6831/udp" |
||||||
|
- "16686:16686" |
||||||
|
|
||||||
@ -0,0 +1,5 @@ |
|||||||
|
memcached: |
||||||
|
image: memcached:latest |
||||||
|
ports: |
||||||
|
- "11211:11211" |
||||||
|
|
||||||
@ -0,0 +1,19 @@ |
|||||||
|
mssql: |
||||||
|
build: |
||||||
|
context: blocks/mssql/build |
||||||
|
environment: |
||||||
|
ACCEPT_EULA: Y |
||||||
|
MSSQL_SA_PASSWORD: Password! |
||||||
|
MSSQL_PID: Developer |
||||||
|
MSSQL_DATABASE: grafana |
||||||
|
MSSQL_USER: grafana |
||||||
|
MSSQL_PASSWORD: Password! |
||||||
|
ports: |
||||||
|
- "1433:1433" |
||||||
|
|
||||||
|
fake-mssql-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: mssql |
||||||
|
FD_PORT: 1433 |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
mssqltests: |
||||||
|
build: |
||||||
|
context: blocks/mssql/build |
||||||
|
environment: |
||||||
|
ACCEPT_EULA: Y |
||||||
|
MSSQL_SA_PASSWORD: Password! |
||||||
|
MSSQL_PID: Express |
||||||
|
MSSQL_DATABASE: grafanatest |
||||||
|
MSSQL_USER: grafana |
||||||
|
MSSQL_PASSWORD: Password! |
||||||
|
ports: |
||||||
|
- "1433:1433" |
||||||
@ -0,0 +1,18 @@ |
|||||||
|
mysql: |
||||||
|
image: mysql:5.6 |
||||||
|
environment: |
||||||
|
MYSQL_ROOT_PASSWORD: rootpass |
||||||
|
MYSQL_DATABASE: grafana |
||||||
|
MYSQL_USER: grafana |
||||||
|
MYSQL_PASSWORD: password |
||||||
|
ports: |
||||||
|
- "3306:3306" |
||||||
|
command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci, --innodb_monitor_enable=all] |
||||||
|
|
||||||
|
fake-mysql-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: mysql |
||||||
|
FD_PORT: 3306 |
||||||
|
|
||||||
@ -0,0 +1,9 @@ |
|||||||
|
mysql_opendata: |
||||||
|
build: blocks/mysql_opendata |
||||||
|
environment: |
||||||
|
MYSQL_ROOT_PASSWORD: rootpass |
||||||
|
MYSQL_DATABASE: testdata |
||||||
|
MYSQL_USER: grafana |
||||||
|
MYSQL_PASSWORD: password |
||||||
|
ports: |
||||||
|
- "3307:3306" |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
mysqltests: |
||||||
|
build: |
||||||
|
context: blocks/mysql_tests |
||||||
|
environment: |
||||||
|
MYSQL_ROOT_PASSWORD: rootpass |
||||||
|
MYSQL_DATABASE: grafana_tests |
||||||
|
MYSQL_USER: grafana |
||||||
|
MYSQL_PASSWORD: password |
||||||
|
ports: |
||||||
|
- "3306:3306" |
||||||
|
tmpfs: /var/lib/mysql:rw |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
# This will proxy all requests for http://localhost:10080/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:10080/grafana/ |
||||||
|
|
||||||
|
nginxproxy: |
||||||
|
build: blocks/nginx_proxy |
||||||
|
network_mode: host |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
openldap: |
||||||
|
build: blocks/openldap |
||||||
|
environment: |
||||||
|
SLAPD_PASSWORD: grafana |
||||||
|
SLAPD_DOMAIN: grafana.org |
||||||
|
SLAPD_ADDITIONAL_MODULES: memberof |
||||||
|
ports: |
||||||
|
- "389:389" |
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,11 @@ |
|||||||
|
opentsdb: |
||||||
|
image: opower/opentsdb:latest |
||||||
|
ports: |
||||||
|
- "4242:4242" |
||||||
|
|
||||||
|
fake-opentsdb-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: opentsdb |
||||||
|
|
||||||
@ -0,0 +1,16 @@ |
|||||||
|
postgrestest: |
||||||
|
image: postgres:9.3 |
||||||
|
environment: |
||||||
|
POSTGRES_USER: grafana |
||||||
|
POSTGRES_PASSWORD: password |
||||||
|
POSTGRES_DATABASE: grafana |
||||||
|
ports: |
||||||
|
- "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: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: bridge |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: postgres |
||||||
|
FD_PORT: 5432 |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
postgrestest: |
||||||
|
build: |
||||||
|
context: blocks/postgres_tests |
||||||
|
environment: |
||||||
|
POSTGRES_USER: grafanatest |
||||||
|
POSTGRES_PASSWORD: grafanatest |
||||||
|
ports: |
||||||
|
- "5432:5432" |
||||||
|
tmpfs: /var/lib/postgresql/data:rw |
||||||
@ -0,0 +1,31 @@ |
|||||||
|
prometheus: |
||||||
|
build: blocks/prometheus |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "9090:9090" |
||||||
|
|
||||||
|
node_exporter: |
||||||
|
image: prom/node-exporter |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "9100:9100" |
||||||
|
|
||||||
|
fake-prometheus-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "9091:9091" |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: prom |
||||||
|
|
||||||
|
alertmanager: |
||||||
|
image: quay.io/prometheus/alertmanager |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "9093:9093" |
||||||
|
|
||||||
|
prometheus-random-data: |
||||||
|
build: blocks/prometheus_random_data |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "8081:8080" |
||||||
@ -0,0 +1,31 @@ |
|||||||
|
prometheus: |
||||||
|
build: blocks/prometheus2 |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "9090:9090" |
||||||
|
|
||||||
|
node_exporter: |
||||||
|
image: prom/node-exporter |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "9100:9100" |
||||||
|
|
||||||
|
fake-prometheus-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "9091:9091" |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: prom |
||||||
|
|
||||||
|
alertmanager: |
||||||
|
image: quay.io/prometheus/alertmanager |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "9093:9093" |
||||||
|
|
||||||
|
prometheus-random-data: |
||||||
|
build: blocks/prometheus_random_data |
||||||
|
network_mode: host |
||||||
|
ports: |
||||||
|
- "8081:8080" |
||||||
@ -0,0 +1,26 @@ |
|||||||
|
prometheus: |
||||||
|
build: blocks/prometheus_mac |
||||||
|
ports: |
||||||
|
- "9090:9090" |
||||||
|
|
||||||
|
node_exporter: |
||||||
|
image: prom/node-exporter |
||||||
|
ports: |
||||||
|
- "9100:9100" |
||||||
|
|
||||||
|
fake-prometheus-data: |
||||||
|
image: grafana/fake-data-gen |
||||||
|
ports: |
||||||
|
- "9091:9091" |
||||||
|
environment: |
||||||
|
FD_DATASOURCE: prom |
||||||
|
|
||||||
|
alertmanager: |
||||||
|
image: quay.io/prometheus/alertmanager |
||||||
|
ports: |
||||||
|
- "9093:9093" |
||||||
|
|
||||||
|
prometheus-random-data: |
||||||
|
build: blocks/prometheus_random_data |
||||||
|
ports: |
||||||
|
- "8081:8080" |
||||||
@ -0,0 +1,4 @@ |
|||||||
|
snmpd: |
||||||
|
image: namshi/smtp |
||||||
|
ports: |
||||||
|
- "25:25" |
||||||
Loading…
Reference in new issue