-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
37 lines (35 loc) · 1.08 KB
/
docker-compose.yaml
File metadata and controls
37 lines (35 loc) · 1.08 KB
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
version: '3.0'
services:
grafana:
image: grafana/grafana:latest
container_name: 'sift-grafana-datasource'
platform: 'linux/amd64'
build:
context: ./.config
args:
grafana_image: ${GRAFANA_IMAGE:-grafana-enterprise}
grafana_version: ${GRAFANA_VERSION:-11.0.0}
ports:
- 3005:3000/tcp
volumes:
- ./dist:/var/lib/grafana/plugins/sift-grafana-datasource
- ./provisioning:/etc/grafana/provisioning
- grafana-storage:/var/lib/grafana
env_file:
- .env
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
# disable alerting because it vomits logs
- GF_ALERTING_ENABLED=false
- GF_UNIFIED_ALERTING_ENABLED=false
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=sift-grafana-datasource
volumes:
grafana-storage: