-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
41 lines (38 loc) · 913 Bytes
/
docker-compose.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
40
41
# Use root/example as user/password credentials
version: '3.5'
services:
neo4j:
image: neo4j:3.5
hostname: neo4j
container_name: neo4j
ports:
- 7474:7474
- 7687:7687
environment:
NEO4J_AUTH: "neo4j/mongo"
NEO4J_apoc_export_file_enabled: 'true'
volumes:
- ./neo4j/plugins:/plugins
mongo:
image: mongo
container_name: mongo
hostname: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: mongo
MONGO_INITDB_ROOT_PASSWORD: neo4j
ports:
- 27017:27017
volumes:
- ./mongo/dump:/dump
- ./mongo/dump/init.sh:/docker-entrypoint-initdb.d/init.sh
mongo-express:
image: mongo-express
container_name: mongo-express
hostname: mongo-express
depends_on:
- mongo
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: mongo
ME_CONFIG_MONGODB_ADMINPASSWORD: neo4j