-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (43 loc) · 1.11 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
version: "3.9"
services:
base: &base
container_name: incubator_base
working_dir: /app/output
build: .
command: [ "java", "--version" ]
server:
<<: *base
container_name: server
command: [ "java", "com.Manager" ]
monitor:
<<: *base
container_name: monitor
command: [ "java", "com.Monitor" ]
temperature:
<<: *base
container_name: temperature
command: [ "java", "com.sensors.TemperatureSensor" ]
oxygen:
<<: *base
container_name: oxygen
command: [ "java", "com.sensors.OxygenSensor" ]
humidity:
<<: *base
container_name: humidity
command: [ "java", "com.sensors.HumiditySensor" ]
heartbeat:
<<: *base
container_name: heartbeat
command: [ "java", "com.sensors.HeartBeatSensor" ]
aircirculator:
<<: *base
container_name: aircirculator
command: [ "java", "com.actuators.AirCirculatorActuator" ]
heater:
<<: *base
container_name: heater
command: [ "java", "com.actuators.HeaterActuator" ]
humidifier:
<<: *base
container_name: humidifier
command: [ "java", "com.actuators.HumidifierActuator" ]