-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
106 lines (94 loc) · 2.17 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: "3"
services:
zookeeper:
image: wurstmeister/zookeeper:latest
container_name: zookeeper-service
ports:
- "2181:2181"
networks:
- orenda
restart: unless-stopped
kafka:
container_name: kafka-service
image: wurstmeister/kafka:latest
command: [start-kafka.sh]
depends_on:
- zookeeper
networks:
- orenda
hostname: kafka-service
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: kafka-service
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_PORT: 9092
KAFKA_CREATE_TOPICS: "
test:1:1,
apiGatewayConsumerF:1:1,
dataRetrievalConsumerF:1:1,
dataModellingConsumerF:1:1,
dataAnalysisConsumerF:1:1,
sessionManagementConsumerF:1:1,
sessionManagementConsumerApiF:1:1,
"
restart: unless-stopped
frontend:
container_name: frontend-service
build: "./frontend"
networks:
- orenda
ports:
- "3000:3000"
restart: unless-stopped
api_gateway:
container_name: api-gateway-service
build: "./APIGateway"
networks:
- orenda
depends_on:
- kafka
ports:
- "5000:5000"
restart: unless-stopped
data_modelling:
container_name: data-modelling-service
build: "./dataModelling"
depends_on:
- kafka
networks:
- orenda
restart: unless-stopped
data_analysis:
container_name: data-analysis-service
build: "./data_analysis"
depends_on:
- kafka
networks:
- orenda
data_retrieval:
container_name: data-retrieval-service
build: "./dataRetrieval"
depends_on:
- kafka
networks:
- orenda
# restart: unless-stopped
session_management:
container_name: session-management-service
build: "./SessionManagement"
depends_on:
- kafka
networks:
- orenda
restart: unless-stopped
user_management:
container_name: user-management-service
build: "./userManagement"
ports:
- "5009:5009"
networks:
- orenda
# restart: unless-stopped
networks:
orenda: