-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
60 lines (54 loc) · 1.12 KB
/
docker-compose.yaml
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
version: '3'
services:
kafka:
environment:
HOSTNAME_COMMAND: "route -n | awk '/UG[ \t]/{print $$2}'"
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
image: wurstmeister/kafka
ports:
- "9092:9092"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- zookeeper
restart: always
zookeeper:
image: wurstmeister/zookeeper
restart: always
web-socket-gateway:
build:
context: BackendServices/WebSocketGateway
dockerfile: Dockerfile
ports:
- "3000:3000"
depends_on:
- kafka
restart: always
env_file:
- ./back.env
auth-service:
build:
context: BackendServices/AuthService
dockerfile: Dockerfile
ports:
- "5000:5000"
depends_on:
- kafka
env_file:
- ./back.env
message-service:
build:
context: BackendServices/MessageService
dockerfile: Dockerfile
ports:
- "3001:3001"
env_file:
- ./back.env
front:
build:
context: Front/
dockerfile: Dockerfile
ports:
- "5173:5173"
env_file:
- ./front.env