-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yaml
43 lines (38 loc) · 1.33 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
version: "3"
services:
# MQTT broker
broker:
container_name: broker
image: toke/mosquitto
ports:
- "127.0.0.1:1883:1883/tcp"
# GPS coords source
source_gps:
container_name: source_gps
image: mclarenappliedtechnologies/recruitment.fanengagement.streamgenerator
links:
- broker
env_file:
- ./source_gps.env
- ./mqtt.env
- ./cars.env
ports:
- "127.0.0.1:8081:8080/tcp"
# Write to websocket
mqtt_to_websocket:
container_name: mqtt-to-websocket
image: mclarenappliedtechnologies/recruitment.fanengagement.forwarder
links:
- broker
env_file:
- ./mqtt.env
ports:
- "127.0.0.1:8080:8080/tcp"
# Webapp
webapp:
container_name: webapp
image: mclarenappliedtechnologies/recruitment.fanengagement.webapp
links:
- mqtt_to_websocket
ports:
- "127.0.0.1:8084:8084/tcp"