-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
171 lines (155 loc) · 4.54 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
name: ridesharing-sim
services:
simulator-0:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 322
NUM_DRIVERS: 280
CITY: "San Francisco"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-1:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 276
NUM_DRIVERS: 288
CITY: "San Jose"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-2:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 60
NUM_DRIVERS: 50
CITY: "Cupertino"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-3:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 100
NUM_DRIVERS: 100
CITY: "Daly City"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-4:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 100
NUM_DRIVERS: 100
CITY: "Fremont"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-5:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 80
NUM_DRIVERS: 80
CITY: "Hayward"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-6:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 40
NUM_DRIVERS: 40
CITY: "Milpitas"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-7:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 80
NUM_DRIVERS: 80
CITY: "Mountain View"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-8:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 100
NUM_DRIVERS: 100
CITY: "Oakland"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-9:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 60
NUM_DRIVERS: 60
CITY: "Palo Alto"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-10:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 80
NUM_DRIVERS: 80
CITY: "Redwood City"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-11:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 40
NUM_DRIVERS: 40
CITY: "San Bruno"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-12:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 80
NUM_DRIVERS: 80
CITY: "San Leandro"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-13:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 60
NUM_DRIVERS: 60
CITY: "San Mateo"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-14:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 70
NUM_DRIVERS: 70
CITY: "Santa Clara"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-15:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 70
NUM_DRIVERS: 70
CITY: "Sunnyvale"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD
simulator-16:
image: ridesharing_simulator:latest
environment:
NUM_RIDERS: 30
NUM_DRIVERS: 30
CITY: "Union City"
KAFKA_BROKER: $KAFKA_BROKER
KAFKA_SASL_USERNAME: $KAFKA_SASL_USERNAME
KAFKA_SASL_PASSWORD: $KAFKA_SASL_PASSWORD