-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
84 lines (84 loc) · 1.77 KB
/
compose.yaml
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
---
services:
adblock:
image: adguard/adguardhome:latest
restart: always
deploy:
replicas: 1
placement:
constraints:
- node.role == manager
restart_policy:
condition: on-failure
resources:
limits:
memory: 128M
reservations:
memory: 64M
healthcheck:
test: "/bin/netstat -pant | /bin/grep 53"
interval: 45s
timeout: 30s
retries: 3
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
volumes:
- $HOME/docker/adguardhome/work/:/opt/adguardhome/work:rw
- $HOME/docker/adguardhome/conf/:/opt/adguardhome/conf:rw
cap_add:
- NET_ADMIN
ports:
- target: 53
published: 53
protocol: tcp
mode: host
- target: 53
published: 53
protocol: udp
mode: host
- target: 67
published: 67
protocol: udp
mode: host
- target: 68
published: 68
protocol: udp
mode: host
- target: 68
published: 68
protocol: tcp
mode: host
- target: 443
published: 443
protocol: tcp
mode: host
- target: 443
published: 443
protocol: udp
mode: host
- target: 784
published: 784
protocol: udp
mode: host
- target: 853
published: 853
protocol: tcp
mode: host
- target: 3000
published: 3000
protocol: tcp
mode: host
- target: 5443
published: 5443
protocol: tcp
mode: host
- target: 5443
published: 5443
protocol: udp
mode: host
- target: 8853
published: 8853
protocol: udp
mode: host