Got Adguard working
This commit is contained in:
@@ -4,6 +4,9 @@ capabilities = ["NET_RAW", "NET_ADMIN", "NET_BIND_SERVICE"]
|
||||
name = "adguard"
|
||||
image = "adguard/adguardhome"
|
||||
|
||||
[[networks]]
|
||||
name = "host"
|
||||
|
||||
[[volumes]]
|
||||
source = "adguard-data"
|
||||
target = "/opt/adguardhome/work"
|
||||
@@ -16,42 +19,4 @@ create = true
|
||||
|
||||
[[volumes]]
|
||||
source = "/var/containers/adguard"
|
||||
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"
|
||||
target = "/opt/adguardhome/conf"
|
||||
Reference in New Issue
Block a user