-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yaml
41 lines (40 loc) · 1.47 KB
/
docker-compose.yaml
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.6'
services:
grafana:
image: grafana/grafana:${GRAFANA_VERSION:-8.1.0}
environment:
TZ: Europe/Berlin
# uncomment to install a comma separated list of plugins
# GF_INSTALL_PLUGINS: grafana-worldmap-panel
volumes:
- './grafana_config/data.db:/app/data.db'
- './grafana_config/grafana.ini:/etc/grafana/grafana.ini'
- './grafana_config/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml'
- './grafana_config/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml'
- './grafana_config/dashboards/alert.json:/app/dashboards/alert.json'
- './grafana_config/dashboards/graph_and_variables.json:/app/dashboards/graph_and_variables.json'
- './grafana_config/dashboards/query_and_repitition.json:/app/dashboards/query_and_repitition.json'
- './dist:/var/lib/grafana/plugins/frser-sqlite-datasource'
ports:
- 3000:3000
depends_on:
- postgres
selenium:
image: ${SELENIUM_IMAGE:-selenium/standalone-chrome:112.0}
shm_size: 2gb
ports:
- 4444:4444
- 5900:5900 # this is the VNC port. the password is "secret"
start-setup:
image: dadarek/wait-for-dependencies:0.2
depends_on:
- grafana
- selenium
command: grafana:3000 selenium:4444
postgres:
# used to compare the sqlite plugin
image: postgres:12-alpine
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=changed_later
- POSTGRES_DB=db_name