forked from alexandregv/Matcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (45 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
version: "3"
services:
api:
image: alexandregv/matcha-api
build: ./api/
volumes:
- './api:/usr/src/'
- './api/package.json:/usr/src/package.json'
- '/usr/src/node_modules'
ports:
- '4000:4000'
labels:
traefik.enable: false
front:
image: alexandregv/matcha-front
build: ./front/
volumes:
- './front:/usr/src/'
- './front/package.json:/usr/src/package.json'
- '/usr/src/node_modules'
ports:
- '3000:3000'
labels:
traefik.enable: false
db:
image: neo4j:3.5.14
env_file:
- .env
environment:
- NEO4J_AUTH=${NEO4J_USER-neo4j}/${NEO4J_PASS-letmein}
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_export_file_enabled=true
- NEO4J_apoc_trigger_enabled=true
- NEO4J_dbms_shell_enabled=true
ports:
- "7473:7473"
- "7474:7474"
- "7687:7687"
volumes:
- ./db/data:/data
- ./db/plugins:/plugins
labels:
traefik.enable: false
# command: /bin/bash -c "[ -f /data/graph.db.dump ] && /var/lib/neo4j/bin/neo4j-admin load --from=/data/graph.db.dump --force; /sbin/tini -g -- /docker-entrypoint.sh neo4j"