-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (38 loc) · 965 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (38 loc) · 965 Bytes
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
version: "2.1"
volumes:
adguardhome_work: {}
adguardhome_conf: {}
tailscale: {}
services:
# https://hub.docker.com/r/adguard/adguardhome
adguard:
build: adguard
network_mode: host
cap_add:
- NET_ADMIN
volumes:
- "adguardhome_work:/opt/adguardhome/work:rw"
- "adguardhome_conf:/opt/adguardhome/conf:rw"
# https://github.com/balenablocks/hostname
hostname:
image: balenablocks/hostname:latest@sha256:b923d6ea886ec48125d2c49e431638d2ef6f4adac574b729b4135cfade3ffdce
restart: no
labels:
io.balena.features.supervisor-api: 1
environment:
SET_HOSTNAME: adguard
# https://github.com/klutchell/balena-tailscale
tailscale:
build: tailscale
restart: on-failure
network_mode: host
cap_add:
- NET_ADMIN
- SYS_MODULE
labels:
io.balena.features.kernel-modules: 1
tmpfs:
- /tmp
- /var/run/
volumes:
- tailscale:/var/lib/tailscale