Got Adguard working
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
@@ -16,42 +19,4 @@ 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"
|
|
||||||
Reference in New Issue
Block a user