-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
51 lines (51 loc) · 1.3 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
version: '3'
services:
kafka-stack:
image: landoop/fast-data-dev:latest
environment:
- FORWARDLOGS=0
- RUNTESTS=0
ports:
- 3030:3030
neo4j:
image: neo4j:latest
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
- NEO4J_apoc_import_file_enabled=true
- NEO4J_dbms_shell_enabled=true
- NEO4J_AUTH=neo4j/adidas
command:
build: .
image: adidas-challenge-services:latest
command: java -jar /app/command-service.jar
depends_on:
- kafka-stack
ports:
- 8090:8080
env_file:
- .dockerenv
processor:
build: .
image: adidas-challenge-services:latest
command: java -jar /app/processor-service.jar
depends_on:
- kafka-stack
- neo4j
ports:
- 8091:8080
env_file:
- .dockerenv
query:
build: .
image: adidas-challenge-services:latest
command: java -jar /app/query-service.jar
depends_on:
- kafka-stack
- neo4j
ports:
- 8092:8080
env_file:
- .dockerenv