-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
34 lines (32 loc) · 987 Bytes
/
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
services:
grafana:
user: root
container_name: 'dolphindb-dolphindb-datasource'
platform: 'linux/amd64'
build:
context: ./.config
args:
grafana_image: ${GRAFANA_IMAGE:-grafana-enterprise}
grafana_version: ${GRAFANA_VERSION:-10.3.3}
development: ${DEVELOPMENT:-false}
ports:
- 3000:3000/tcp
- 2345:2345/tcp # delve
- 8101:8101/tcp
- 8101:8101/udp
network_mode: host
security_opt:
- 'apparmor:unconfined'
- 'seccomp:unconfined'
cap_add:
- SYS_PTRACE
volumes:
- ./dist:/var/lib/grafana/plugins/dolphindb-dolphindb-datasource
- ./provisioning:/etc/grafana/provisioning
- .:/root/dolphindb-dolphindb-datasource
environment:
NODE_ENV: development
GF_LOG_FILTERS: plugin.dolphindb-dolphindb-datasource:debug
GF_LOG_LEVEL: debug
GF_DATAPROXY_LOGGING: 1
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS: dolphindb-dolphindb-datasource