-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathdocker-compose.yml
46 lines (46 loc) · 1.1 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
version: '2'
volumes:
speedtest-data:
settings:
dashboard-data:
services:
speedtest:
build: ./speedtest
privileged: true
restart: never
volumes:
- 'speedtest-data:/data'
network_mode: host
labels:
io.balena.features.supervisor-api: 1
connector:
image: balenablocks/connector
restart: always
labels:
io.balena.features.balena-api: '1'
privileged: true
dashboard:
restart: always
build: ./dashboard
ports:
- "80"
volumes:
- 'dashboard-data:/data'
influxdb:
image: influxdb@sha256:73f876e0c3bd02900f829d4884f53fdfffd7098dd572406ba549eed955bf821f
container_name: influxdb
restart: always
environment:
- INFLUXDB_DB=balena
- INFLUXDB_USER=balena
- INFLUXDB_ADMIN_ENABLED=true
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=admin
- INFLUXDB_DATA_DIR=/data
volumes:
- 'speedtest-data:/data'
mqtt:
image: arm32v6/eclipse-mosquitto@sha256:ec3e1dbb9e198ff04d62c2d0f6eff74cad7438c7d080b89a28428fb96c8479c4
ports:
- "1883:1883"
restart: always