Added form field for network interface to pihole
This commit is contained in:
parent
5d37848135
commit
ebd90e892e
|
@ -22,6 +22,12 @@
|
||||||
"min": 3,
|
"min": 3,
|
||||||
"required": true,
|
"required": true,
|
||||||
"env_variable": "APP_PASSWORD"
|
"env_variable": "APP_PASSWORD"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ip",
|
||||||
|
"label": "Network Interface (use 0.0.0.0 for all)",
|
||||||
|
"required": true,
|
||||||
|
"env_variable": "NW_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:
|
||||||
- 53:53/tcp
|
- ${NW_INTERFACE}:53:53/tcp
|
||||||
- 53:53/udp
|
- ${NW_INTERFACE}: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