forked from denniskniep/grafana-datasource-plugin-neo4j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yaml
34 lines (32 loc) · 1.07 KB
/
docker-compose.dev.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
version: "3.8"
services:
grafana:
image: grafana/grafana:9.4.3
environment:
- GF_DEFAULT_APP_MODE=development
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_FEATURE_TOGGLES_ENABLE=ngalert
- GF_ALLOW_LOADING_UNSIGNED_PLUGINS=kniepdennis-neo4j-datasource
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=kniepdennis-neo4j-datasource
volumes:
- ./neo4j-datasource-plugin/dist:/var/lib/grafana/plugins/neo4j-datasource-plugin
- ./grafana/provisioning/:/etc/grafana/provisioning/
ports:
- 3000:3000
neo4j:
image: neo4j:4.4.3
environment:
#- NEO4J_AUTH=none
- NEO4J_AUTH=neo4j/Password123
- NEO4JLABS_PLUGINS=["apoc"]
ports:
- 7474:7474
- 7687:7687
neo4j-provisioning:
image: neo4j:4.4.3
volumes:
- ./neo4j/initMovieDb.cql:/initMovieDb.cql
- ./neo4j/wait-for.sh:/wait-for.sh
entrypoint: []
command: /bin/sh -c '/wait-for.sh http://neo4j:7474 -- cypher-shell -a neo4j://neo4j:7687 -u neo4j -p Password123 -f /initMovieDb.cql'