forked from TIGERs-Mannheim/Sumatra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.statistics.yml
37 lines (33 loc) · 1.01 KB
/
docker-compose.statistics.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
# Note: Use scripts/runDockerSimulation.sh to make sure all environment variables are set
services:
grafana:
image: grafana/grafana-oss:8.4.3
volumes:
- grafana_data:/var/lib/grafana
- ./modules/moduli-statistics-saver/grafana/dashboards:/dashboards
- ./modules/moduli-statistics-saver/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
- ./modules/moduli-statistics-saver/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
environment:
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-fCQW904U3mtzui8MAAxXXE7i1DN2gphY}
- GF_USERS_ALLOW_SIGN_UP=false
ports:
- "3000:3000"
user: "1000:1000"
depends_on:
- influxdb
networks:
- statistics
influxdb:
image: influxdb:1.8
volumes:
- influxdb_data:/var/lib/influxdb
ports:
- "8086:8086"
networks:
- statistics
volumes:
grafana_data:
influxdb_data:
networks:
statistics: