-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
90 lines (84 loc) · 2.08 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: "2.1"
volumes:
pihole_config:
dnsmasq_config:
unms_config:
unifi_config:
unifi_log:
unifi_log2:
unifi_run:
unifi_run2:
unifi_work:
tailscale_state:
services:
pihole:
build:
context: ./balena-pihole/pihole
privileged: true
container_name: pihole
restart: unless-stopped
network_mode: host
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "80:80/tcp"
environment:
- TZ=${TIME_ZONE:-America/New_York}
volumes:
- "pihole_config:/etc/pihole"
- "dnsmasq_config:/etc/dnsmasq.d"
unifi:
image: ryansch/unifi-rpi:7.3.76-arm64v8
container_name: unifi
restart: unless-stopped
network_mode: host
ports:
- "3478:3478/udp"
- "5514:5514"
- "8080:8080"
- "8443:8443"
- "8843:8843"
- "6789:6789"
- "27117:27117"
- "1900:1900/udp"
- "10001:10001/udp"
environment:
JAVA_OPTS: -Xmx512M
volumes:
- "unifi_config:/var/lib/unifi"
- "unifi_log:/usr/lib/unifi/logs"
- "unifi_log2:/var/log/unifi"
- "unifi_run:/usr/lib/unifi/run"
- "unifi_run2:/run/unifi"
- "unifi_work:/usr/lib/unifi/work"
unms:
image: nico640/docker-unms:1.4.8
container_name: unms
restart: unless-stopped
ports:
- "4443:443"
- "4080:80"
- "2025:2025/udp"
environment:
- TZ=${TIME_ZONE:-America/New_York}
- SECURE_LINK_SECRET=${UNMS_SECLINK_SECRET}
- PUBLIC_HTTPS_PORT=4443
- PUBLIC_WS_PORT=4443
volumes:
- "unms_config:/config"
tailscale:
image: tailscale/tailscale:stable
container_name: tailscale-node
hostname: tailscale-node
restart: unless-stopped
privileged: true # Privileged may be optional, see: https://github.com/tailscale/tailscale/issues/504
cap_add: # Required for tailscale
- net_admin
- sys_module
environment:
- TAILSCALE_AUTHKEY=${TAILSCALE_AUTH_SECRET}
- TAILSCALE_HOSTNAME=${TAILSCALE_HOSTNAME}
- TS_ROUTES=${TAILSCALE_ADV_ROUTES:-false}
volumes:
- "tailscale_state:/var/lib"