Renamed NW_INTERFACE and assigned a default value of 0.0.0.0
This commit is contained in:
parent
678f9e41d6
commit
c630f6c56e
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user