-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yaml
37 lines (33 loc) · 1.05 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
version: "3.8"
services:
grafana:
image: grafana/grafana:10.0.3
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_FEATURE_TOGGLES_ENABLE=ngalert
- GF_INSTALL_PLUGINS=https://github.com/denniskniep/grafana-datasource-plugin-neo4j/releases/download/v1.3.2/kniepdennis-neo4j-datasource-1.3.2.zip;kniepdennis-neo4j-datasource
volumes:
- ./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"]
volumes:
- neo4j-data:/data
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'
volumes:
neo4j-data: