-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathfabric-dev.yml
39 lines (35 loc) · 1.06 KB
/
fabric-dev.yml
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
38
39
version: '3'
networks:
cluster_net:
services:
neo4j:
hostname: neo4j
image: neo4j:4.0-enterprise
networks:
- cluster_net
ports:
- 7474:7474
- 6477:6477
- 7687:7687
volumes:
- $HOME/tmp/docker/fabric-dev/neo4j/conf:/conf
- $HOME/tmp/docker/fabric-dev/neo4j/data:/data
- $HOME/tmp/docker/fabric-dev/neo4j/logs:/logs
- $HOME/tmp/docker/fabric-dev/neo4j/metrics:/metrics
- $HOME/tmp/docker/fabric-dev/plugins:/plugins
environment:
- NEO4J_AUTH=neo4j/changeme
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_fabric_database_name=example
- NEO4J_fabric_graph_0_uri=neo4j://neo4j:7687
- NEO4J_fabric_graph_0_name=db1
- NEO4J_fabric_graph_0_database=db1
- NEO4J_fabric_graph_1_uri=neo4j://neo4j:7687
- NEO4J_fabric_graph_1_database=db2
- NEO4J_fabric_graph_1_name=db2
- NEO4J_dbms_default__database=db1
- NEO4JLABS_PLUGINS=["apoc"]
# default database can't be the fabric database
# create db2 after startup:
# :use system
# create database db2