forked from mahendrapaipuri/grafana-dashboard-reporter-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
executable file
·51 lines (50 loc) · 1.78 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
42
43
44
45
46
47
48
49
50
51
version: '3.0'
services:
grafana:
# image: grafana/grafana:latest
container_name: 'mahendrapaipuri-dashboardreporter-app'
build:
context: ./.config
args:
grafana_image: ${GRAFANA_IMAGE:-grafana-enterprise}
grafana_version: ${GRAFANA_VERSION:-10.4.2}
ports:
- 3000:3000/tcp
volumes:
- ./dist:/var/lib/grafana/plugins/mahendrapaipuri-dashboardreporter-app
- ./provisioning:/etc/grafana/provisioning
# - ./.ci/certs:/etc/certs
environment:
# basic settings
# output to terminal
- TERM=linux
- GF_DEFAULT_APP_MODE=development
# - GF_LOG_LEVEL=debug
- GF_DATAPROXY_LOGGING=true
# allow anonymous admin so we don't have to set up a password to start testing
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
# skip login page
# - GF_AUTH_DISABLE_LOGIN_FORM=true
# disable alerting because it vomits logs
- GF_ALERTING_ENABLED=false
- GF_UNIFIED_ALERTING_ENABLED=false
- GF_RENDERING_SERVER_URL=http://renderer:8081/render
- GF_RENDERING_CALLBACK_URL=http://grafana:3000/
- GF_LOG_FILTERS=rendering:debug
# # TLS
# - GF_SERVER_PROTOCOL=https
# - GF_SERVER_CERT_KEY=/etc/certs/localhost.key
# - GF_SERVER_CERT_FILE=/etc/certs/localhost.crt
renderer:
image: grafana/grafana-image-renderer:latest
environment:
# Recommendation of grafana-image-renderer for optimal performance
# https://grafana.com/docs/grafana/latest/setup-grafana/image-rendering/#configuration
- RENDERING_MODE=clustered
- RENDERING_CLUSTERING_MODE=browser
- RENDERING_CLUSTERING_MAX_CONCURRENCY=5
- RENDERING_CLUSTERING_TIMEOUT=60
- IGNORE_HTTPS_ERRORS=true
ports:
- 8081