-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.rpi3
66 lines (62 loc) · 1.35 KB
/
docker-compose.yml.rpi3
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
version: '2'
volumes:
resin-data:
services:
wifi-connect:
build: ./wifi-connect
network_mode: "host"
labels:
io.balena.features.dbus: '1'
cap_add:
- NET_ADMIN
environment:
DBUS_SYSTEM_BUS_ADDRESS: "unix:path=/host/run/dbus/system_bus_socket"
sense-video:
build: ./sense-video
network_mode: "host"
privileged: true
depends_on:
- store-and-forward
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/config'
expose:
- "80"
sense-python:
build: ./python
privileged: true
depends_on:
- store-and-forward
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/config'
sense-go:
build: ./sense-go
privileged: true
restart: always
depends_on:
- store-and-forward
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/config'
store-and-forward:
build: ./bubblesgrpc-server
privileged: true
restart: always
depends_on:
- wifi-connect
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/data'
- 'resin-data:/config'
ports:
- "50051:50051"
- "8080:8080"