-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
71 lines (67 loc) · 1.57 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
version: "2.1"
volumes:
settings:
pihole_config:
dnsmasq_config:
services:
# https://github.com/balenablocks/fbcp
fbcp:
image: balenablocks/fbcp:1.0.0
privileged: true
# balena-dash
kiosk:
restart: always
build: ./balena-dash/kiosk
privileged: true
ports:
- 8080:8080
volumes:
- 'settings:/data'
environment:
- KIOSK=1
scheduler:
restart: always
build: ./balena-dash/scheduler
privileged: true
environment:
- ENABLE_BACKLIGHT_TIMER=1
- BACKLIGHT_ON=0 9 * * *
- BACKLIGHT_OFF=0 20 * * *
- TZ=America/Los_Angeles
wifi-connect:
build: ./balena-dash/wifi-connect
restart: always
network_mode: host
privileged: true
labels:
io.balena.features.dbus: '1'
io.balena.features.firmware: '1'
# balena-pihole
# https://hub.docker.com/r/pihole/pihole
pihole:
build: ./balena-pihole/pihole
privileged: true
volumes:
- "pihole_config:/etc/pihole"
- "dnsmasq_config:/etc/dnsmasq.d"
dns:
- "127.0.0.1"
- "1.1.1.1"
network_mode: host
labels:
io.balena.features.supervisor-api: 1
# https://github.com/klutchell/unbound-dnscrypt
unbound:
build: ./balena-pihole/unbound
privileged: true
ports:
- "5053:5053/tcp"
- "5053:5053/udp"
# prevent plymouth from blocking fbcp
# https://github.com/klutchell/balena-pihole/issues/25
# https://github.com/balena-os/meta-balena/issues/1772
dbus:
build: ./balena-pihole/dbus
restart: on-failure
labels:
io.balena.features.dbus: "1"