Added form field for network interface to adguard

This commit is contained in:
dextreem 2022-09-23 10:46:43 +02:00 committed by Nicolas Meienberger
parent 58466b1ce5
commit fb3ec73481
2 changed files with 10 additions and 3 deletions

View File

@ -14,5 +14,12 @@
"requirements": { "requirements": {
"ports": [53] "ports": [53]
}, },
"form_fields": [] "form_fields": [
{
"type": "ip",
"label": "Network Interface (use 0.0.0.0 for all)",
"required": true,
"env_variable": "NW_INTERFACE"
}
]
} }

View File

@ -11,6 +11,6 @@ services:
networks: networks:
- tipi_main_network - tipi_main_network
ports: ports:
- 53:53/tcp - ${NW_INTERFACE}:53:53/tcp
- 53:53/udp - ${NW_INTERFACE}:53:53/udp
- ${APP_PORT}:80 - ${APP_PORT}:80