-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (42 loc) · 937 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
42
43
44
45
46
47
version: '3'
services:
neo4j:
build: ./neo4j
container_name: neo4j
ports:
- 7474:7474
- 7687:7687
environment:
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_export_file_enabled=true
- NEO4J_dbms_shell_enabled=true
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
api:
build: ./api
container_name: api
ports:
- 4001:4001
environment:
- NEO4J_URI=bolt://neo4j:7687
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=letmein
- GRAPHQL_LISTEN_PORT=4001
- GRAPHQL_URI=http://api:4001/graphql
links:
- neo4j
depends_on:
- neo4j
ui:
build: ./ui-react
container_name: ui
ports:
- 3000:3000
environment:
- CI=true
- REACT_APP_GRAPHQL_URI=/graphql
- PROXY=http://api:4001/graphql
links:
- api
depends_on:
- api