-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (48 loc) · 949 Bytes
/
docker-compose.yml
File metadata and controls
55 lines (48 loc) · 949 Bytes
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
version: '3.2'
services:
rabbitmq:
image: rabbitmq
ports:
- '5670:5670'
- '5671:5671'
producer:
build: producer
volumes:
- ./producer:/app
environment:
- PYTHONUNBUFFERED=1
ride_matching_consumer:
build: ride_matching_consumer
volumes:
- ./ride_matching_consumer:/app
ports:
- 5000:5000
depends_on:
- rabbitmq
environment:
- PORTADDR=0.0.0.0:5000
- CONSUMER_ID=1
ride_matching_consumer2:
build: ride_matching_consumer2
volumes:
- ./ride_matching_consumer2:/app
ports:
- 7000:7000
depends_on:
- rabbitmq
environment:
- SERVERIP=1.2.3.4
- CONSUMERID=1428
database_consumer:
build: database_consumer
volumes:
- ./database_consumer:/app
ports:
- 6000:6000
depends_on:
- rabbitmq
- mongodb
mongodb:
image: mongo
expose:
- 5187