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": [
|
"form_fields": [
|
||||||
{
|
{
|
||||||
"type": "ip",
|
"type": "ip",
|
||||||
"label": "Network Interface (use 0.0.0.0 for all)",
|
"label": "Network Interface (default: 0.0.0.0)",
|
||||||
"required": true,
|
"required": false,
|
||||||
"env_variable": "NW_INTERFACE"
|
"env_variable": "NETWORK_INTERFACE"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,6 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
ports:
|
ports:
|
||||||
- ${NW_INTERFACE}:53:53/tcp
|
- ${NETWORK_INTERFACE:-0.0.0.0}:53:53/tcp
|
||||||
- ${NW_INTERFACE}:53:53/udp
|
- ${NETWORK_INTERFACE:-0.0.0.0}:53:53/udp
|
||||||
- ${APP_PORT}:80
|
- ${APP_PORT}:80
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "ip",
|
"type": "ip",
|
||||||
"label": "Network Interface (use 0.0.0.0 for all)",
|
"label": "Network Interface (default: 0.0.0.0)",
|
||||||
"required": true,
|
"required": false,
|
||||||
"env_variable": "NW_INTERFACE"
|
"env_variable": "NETWORK_INTERFACE"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,8 @@ services:
|
||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
# - 10.21.21.200 # Points to unbound
|
# - 10.21.21.200 # Points to unbound
|
||||||
ports:
|
ports:
|
||||||
- ${NW_INTERFACE}:53:53/tcp
|
- ${NETWORK_INTERFACE:-0.0.0.0}:53:53/tcp
|
||||||
- ${NW_INTERFACE}:53:53/udp
|
- ${NETWORK_INTERFACE:-0.0.0.0}:53:53/udp
|
||||||
- ${APP_PORT}:80
|
- ${APP_PORT}:80
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data/pihole:/etc/pihole
|
- ${APP_DATA_DIR}/data/pihole:/etc/pihole
|
||||||
|
|
Loading…
Reference in New Issue
Block a user