diff --git a/apps/adguard/config.json b/apps/adguard/config.json index 943a9eb9..3bfecb35 100644 --- a/apps/adguard/config.json +++ b/apps/adguard/config.json @@ -14,5 +14,12 @@ "requirements": { "ports": [53] }, - "form_fields": [] + "form_fields": [ + { + "type": "ip", + "label": "Network Interface (use 0.0.0.0 for all)", + "required": true, + "env_variable": "NW_INTERFACE" + } + ] } diff --git a/apps/adguard/docker-compose.yml b/apps/adguard/docker-compose.yml index f5aeb613..b1d911ef 100644 --- a/apps/adguard/docker-compose.yml +++ b/apps/adguard/docker-compose.yml @@ -11,6 +11,6 @@ services: networks: - tipi_main_network ports: - - 53:53/tcp - - 53:53/udp + - ${NW_INTERFACE}:53:53/tcp + - ${NW_INTERFACE}:53:53/udp - ${APP_PORT}:80