-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
56 lines (51 loc) · 991 Bytes
/
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
version: "2.0"
services:
redis:
image: alexellis2/redis-arm:v6
ports:
- 6379/TCP
networks:
- frontend
environment:
- "constraint:demo.web==1"
web:
build:
context: "./webdashboard/"
networks:
- frontend
privileged: true
environment:
- "constraint:demo.web==1"
- QUIET=True
ports:
- "5001:5000"
depends_on:
- redis
unicorn:
build:
context: "./multi_dashboard/"
networks:
- frontend
privileged: true
environment:
- "constraint:demo.dashboard==1"
- QUIET=True
- TEMP_THRESHOLD=0.8
depends_on:
- redis
sensor:
build:
context: "./envirophat_sensor/"
networks:
- frontend
privileged: true
environment:
- "affinity:container!=datacentersensor_sensor_*"
- "constraint:sensor==1"
- TEMP_THRESHOLD=0.8
- QUIET=True
depends_on:
- redis
networks:
frontend:
driver: overlay