-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (39 loc) · 1.01 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '3.9'
services:
k6:
image: loadimpact/k6
platform: linux/amd64
container_name: k6
environment:
- K6_OUT=influxdb=http://influxdb:8086/k6
- TARGET_HOST=http://host.docker.internal:8000
volumes:
- ./scripts:/scripts
depends_on:
- influxdb
- grafana
influxdb:
image: influxdb:1.8.10
container_name: influxdb
environment:
- INFLUXDB_DB=k6
- INFLUXDB_HTTP_MAX_BODY_SIZE=0
ports:
- 8086:8086
volumes:
- ./data/influxdb:/var/lib/influxdb
grafana:
image: grafana/grafana
container_name: grafana
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
ports:
- 3000:3000
volumes:
- ./data/grafana:/var/lib/grafana
- ./grafana/dashboards:/var/lib/grafana/dashboards
- ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
depends_on:
- influxdb