-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (50 loc) · 1.22 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '3.7'
services:
# neo4j:
# hostname: neo4j
# image: neo4j:5.1-enterprise
# container_name: neo4j
# ports:
# - "7474:7474"
# - "7687:7687"
# environment:
# NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
# NEO4J_AUTH: neo4j/apoc
# NEO4J_dbms_security_procedures_unrestricted: "apoc.*"
# NEO4J_dbms_security_procedures_whitelist: "apoc.*"
# apoc.export.file.enabled: "true"
# apoc.import.file.enabled: "true"
# networks:
# - apoc
# volumes:
# - ./neo4j/plugins:/plugins
# - ./neo4j/import:/var/lib/neo4j/import
redis:
hostname: redis
image: redis:6.2.3
container_name: redis
expose:
- '6379'
ports:
- "6379:6379"
environment:
REDIS_ARGS: "--requirepass redisPass"
networks:
- apoc
mongodb:
image: mongo:4
container_name: mongodb
restart: always
expose:
- '27017'
environment:
MONGO_INITDB_ROOT_USERNAME: mongo
MONGO_INITDB_ROOT_PASSWORD: password
# MONGO_INITDB_DATABASE: sample
ports:
- 27017:27017
volumes:
- ./docker-entrypoint-initdb.d/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
networks:
apoc:
driver: bridge