Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

Commit 2eefa78

Browse files
authored
build: adds a docker-compose file to test plugin quickly
1 parent efbf659 commit 2eefa78

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docker-compose.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# this allows to test plugin very quickly
2+
# run `./build-panel.sh` first
3+
# then run `docker-compose up`
4+
---
5+
version: "3.9"
6+
services:
7+
grafana:
8+
image: grafana/grafana:8.1.1
9+
volumes:
10+
- ./dist:/var/lib/grafana/plugins/pyroscope-panel
11+
environment:
12+
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=pyroscope-panel
13+
- GF_INSTALL_PLUGINS=pyroscope-datasource
14+
ports:
15+
- 3000:3000
16+
17+
pyroscope:
18+
image: "pyroscope/pyroscope:latest"
19+
ports:
20+
- 4040:4040
21+
command:
22+
- server
23+
environment:
24+
- PYROSCOPE_LOG_LEVEL=info

0 commit comments

Comments
 (0)