-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
56 lines (50 loc) · 985 Bytes
/
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
version: "3.4"
services:
redis:
hostname: redis
container_name: redis
image: redis:latest
environment:
REDIS_PASSWORD: redis
ports:
- "6379:6379"
destination:
hostname: destination
container_name: destination
image: destination:latest
build: destination/.
restart: on-failure
ports:
- "5052:5052"
broker:
hostname: broker
container_name: broker
image: broker:latest
build: broker/.
restart: on-failure
depends_on:
- "destination"
- "redis"
ports:
- "5051:5051"
reciever:
hostname: reciever
container_name: reciever
image: reciever:latest
build: reciever/.
restart: on-failure
depends_on:
- "broker"
ports:
- "5050:5050"
sender:
hostname: sender
container_name: sender
image: sender:latest
build: sender/.
restart: on-failure
depends_on:
- "reciever"
networks:
mqueue:
driver: bridge