-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
54 lines (54 loc) · 1.26 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
version: '3.9'
services:
neo4j:
image: neo4j:latest
restart: always
volumes:
- ./neo4j/data:/data
- ./neo4j/logs:/logs
- ./neo4j/conf:/var/lib/neo4j/conf
- ./neo4j/import:/var/lib/neo4j/import
# expose outside the host machine
# ports:
# - "7474:7474"
# - "7473:7473"
# - "7687:7687"
# only in the docker network
expose:
- "7474"
- "7473"
- "7687"
env_file:
- .neo4j.env
environment:
# - NEO4J_AUTH=none # override .env
- NEO4J_dbms_connector_bolt_advertised__address=localhost:7687
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_dbms_security_allow__csv__import__from__file__urls=true
mongo:
image: mongo
restart: always
volumes: # does not work on windows
- ./mongodb/data/db:/data/db
env_file:
- .mongo.env
# expose outside the host machine
# ports:
# - "27017:27017"
# only in the docker network
expose:
- "27017"
api:
build:
context: ./api/
volumes:
- ./api:/app
ports:
- "80:5000"
depends_on:
- mongo
- neo4j
env_file:
- ./api/.env
environment: # override .env
- FLASK_DEBUG=0