Renamed NW_INTERFACE and assigned a default value of 0.0.0.0

This commit is contained in:
dextreem 2022-09-23 15:13:04 +02:00 committed by Nicolas Meienberger
parent 678f9e41d6
commit c630f6c56e
4 changed files with 10 additions and 10 deletions

View File

@ -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"
}
]
}

View File

@ -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

View File

@ -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"
}
]
}

View File

@ -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