diff --git a/apps/adguard/config.json b/apps/adguard/config.json index 3bfecb35..7925c34d 100644 --- a/apps/adguard/config.json +++ b/apps/adguard/config.json @@ -17,9 +17,9 @@ "form_fields": [ { "type": "ip", - "label": "Network Interface (use 0.0.0.0 for all)", - "required": true, - "env_variable": "NW_INTERFACE" + "label": "Network Interface (default: 0.0.0.0)", + "required": false, + "env_variable": "NETWORK_INTERFACE" } ] } diff --git a/apps/adguard/docker-compose.yml b/apps/adguard/docker-compose.yml index b1d911ef..e44038c9 100644 --- a/apps/adguard/docker-compose.yml +++ b/apps/adguard/docker-compose.yml @@ -11,6 +11,6 @@ services: networks: - tipi_main_network ports: - - ${NW_INTERFACE}:53:53/tcp - - ${NW_INTERFACE}:53:53/udp + - ${NETWORK_INTERFACE:-0.0.0.0}:53:53/tcp + - ${NETWORK_INTERFACE:-0.0.0.0}:53:53/udp - ${APP_PORT}:80 diff --git a/apps/pihole/config.json b/apps/pihole/config.json index 7150e147..28fd7ab0 100644 --- a/apps/pihole/config.json +++ b/apps/pihole/config.json @@ -25,9 +25,9 @@ }, { "type": "ip", - "label": "Network Interface (use 0.0.0.0 for all)", - "required": true, - "env_variable": "NW_INTERFACE" + "label": "Network Interface (default: 0.0.0.0)", + "required": false, + "env_variable": "NETWORK_INTERFACE" } ] } diff --git a/apps/pihole/docker-compose.yml b/apps/pihole/docker-compose.yml index dbcb773a..b16e86ec 100644 --- a/apps/pihole/docker-compose.yml +++ b/apps/pihole/docker-compose.yml @@ -21,8 +21,8 @@ services: - 127.0.0.1 # - 10.21.21.200 # Points to unbound ports: - - ${NW_INTERFACE}:53:53/tcp - - ${NW_INTERFACE}:53:53/udp + - ${NETWORK_INTERFACE:-0.0.0.0}:53:53/tcp + - ${NETWORK_INTERFACE:-0.0.0.0}:53:53/udp - ${APP_PORT}:80 volumes: - ${APP_DATA_DIR}/data/pihole:/etc/pihole