-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
72 lines (70 loc) · 1.96 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
version: '2'
services:
tweet:
build: ./tweet-ei-inference
privileged: true
restart: always
depends_on:
- wifi-connect
labels:
io.balena.features.dbus: '1'
io.balena.features.kernel-modules: '1'
volumes:
- 'shared-data:/var/data'
- 'shared-media:/var/media'
face:
build: ./face-ei-inference
privileged: true
restart: always
# depends_on:
# - wifi-connect
labels:
io.balena.features.dbus: '1'
io.balena.features.kernel-modules: '1'
volumes:
- 'shared-data:/var/data'
- 'shared-media:/var/media'
camera:
build: ./camera-dash
privileged: true
restart: always
volumes:
- 'shared-data:/var/data'
- 'shared-media:/var/media'
depends_on:
- face
- tweet
ports:
- "80"
labels:
io.balena.features.kernel-modules: '1'
# finblock:
# restart: always
# image: balenablocks/finabler:latest
# network_mode: host
# privileged: true
# volumes:
# - 'fin:/data/firmware'
# labels:
# io.balena.features.supervisor-api: '1'
# io.balena.features.balena-api: '1'
# expose:
# - "1337"
wifi-connect:
build: ./wifi-connect
restart: always
network_mode: host
privileged: true
ports:
- "8100"
labels:
io.balena.features.dbus: '1'
io.balena.features.firmware: '1'
cap_add:
- NET_ADMIN
environment:
DBUS_SYSTEM_BUS_ADDRESS: "unix:path=/host/run/dbus/system_bus_socket"
volumes:
shared-data:
shared-media:
fin: