-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.yml
134 lines (134 loc) · 2.38 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
consul:
image: autopilotpattern/consul:0.7.2-r0.8
command: >
/usr/local/bin/containerpilot
/bin/consul agent -server
-config-dir=/etc/consul
-log-level=err
-bootstrap-expect 1
-ui-dir /ui
restart: always
labels:
- triton.cns.services=consul
ports:
- "8500:8500"
expose:
- 9090
env_file:
- _env
nats:
image: autopilotpattern/nats:1.0.2-r5
restart: always
expose:
- "9090"
- "4222"
- "8222"
- "6222"
env_file:
- _env
natsboard:
image: d0cker/natsboard:1.0.0
restart: always
ports:
- "3000:3000"
- "3001:3001"
expose:
- "9090"
env_file:
- _env
prometheus:
image: autopilotpattern/prometheus:1.7.1-r24
mem_limit: 128m
restart: always
ports:
- "9090:9090"
env_file:
- _env
influxdb:
image: autopilotpattern/influxdb:1.1.1
restart: always
expose:
- "9090"
- "8086"
- "8083"
env_file:
- _env
environment:
- ADMIN_USER=root
- INFLUXDB_INIT_PWD=root123
- INFLUXDB_ADMIN_ENABLED=true
- INFLUXDB_REPORTING_DISABLED=true
- INFLUXDB_DATA_QUERY_LOG_ENABLED=false
- INFLUXDB_HTTP_LOG_ENABLED=false
- INFLUXDB_CONTINUOUS_QUERIES_LOG_ENABLED=false
traefik:
image: d0cker/traefik:1.3.2
labels:
- triton.cns.services=ui
ports:
- "80:80"
- "8080:8080"
expose:
- "9090"
env_file:
- _env
restart: always
serializer:
image: d0cker/serializer:6.4.0
env_file:
- _env
environment:
- INFLUXDB_USER=root
- INFLUXDB_PWD=root123
expose:
- "80"
- "9090"
restart: always
frontend:
image: d0cker/frontend:6.2.1
env_file:
- _env
expose:
- "80"
- "9090"
restart: always
smartthings:
image: d0cker/smartthings:8.2.1
labels:
- triton.cns.services=smartthings
ports:
- "80"
expose:
- "9090"
env_file:
- _env
environment:
- FAKE_MODE=true
restart: always
humidity:
image: d0cker/sensor:4.3.1
env_file:
- _env
environment:
- SENSOR_TYPE=humidity
expose:
- "9090"
restart: always
motion:
image: d0cker/sensor:4.3.1
env_file:
- _env
environment:
- SENSOR_TYPE=motion
expose:
- "9090"
restart: always
temperature:
image: d0cker/sensor:4.3.1
env_file:
- _env
environment:
- SENSOR_TYPE=temperature
expose:
- "9090"
restart: always