Got Adguard working

This commit is contained in:
Maurice
2025-10-01 09:11:25 +02:00
parent b53ccf296d
commit 0c3c20f0a8
2 changed files with 5 additions and 40 deletions

View File

@@ -2,7 +2,7 @@ http:
pprof: pprof:
port: 6060 port: 6060
enabled: false enabled: false
address: 0.0.0.0:3000 address: 0.0.0.0:8888
session_ttl: 720h session_ttl: 720h
users: users:
- name: admin - name: admin

View File

@@ -4,6 +4,9 @@ capabilities = ["NET_RAW", "NET_ADMIN", "NET_BIND_SERVICE"]
name = "adguard" name = "adguard"
image = "adguard/adguardhome" image = "adguard/adguardhome"
[[networks]]
name = "host"
[[volumes]] [[volumes]]
source = "adguard-data" source = "adguard-data"
target = "/opt/adguardhome/work" target = "/opt/adguardhome/work"
@@ -17,41 +20,3 @@ create = true
[[volumes]] [[volumes]]
source = "/var/containers/adguard" source = "/var/containers/adguard"
target = "/opt/adguardhome/conf" target = "/opt/adguardhome/conf"
[[ports]]
host = 8888
container = 3000
# DNS ports
[[ports]]
host = 53
container = 53
protocol = "udp"
[[ports]]
host = 53
container = 53
protocol = "tcp"
# DHCP ports
[[ports]]
host = 67
container = 67
protocol = "udp"
[[ports]]
host = 68
container = 68
protocol = "udp"
# DNS-over-TLS
[[ports]]
host = 853
container = 853
protocol = "tcp"
# DNS-over-QUIC (784/853/8853)
[[ports]]
host = 784
container = 784
protocol = "udp"