-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
45 lines (45 loc) · 1021 Bytes
/
docker-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
---
services:
adguard:
image: adguard/adguardhome:latest
container_name: adguard
restart: always
deploy:
resources:
limits:
memory: 256M
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/$USER/docker/adguardhome/work:/opt/adguardhome/work:rw
- /home/$USER/docker/adguardhome/conf:/opt/adguardhome/conf:rw
- /etc/hosts:/etc/hosts:ro
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "68:68/udp"
- "80:80/tcp"
- "443:443/tcp"
- "443:443/udp"
- "784:784/udp"
- "853:853/tcp"
- "853:853/udp"
- "3000:3000/tcp"
- "3000:3000/udp"
- "5443:5443/tcp"
- "5443:5443/udp"
- "6060:6060/tcp"
- "8853:8853/udp"
cap_add:
- NET_ADMIN
- SYS_MODULE