Added form field for network interface to pihole

This commit is contained in:
dextreem 2022-09-23 10:46:50 +02:00
parent 5d37848135
commit ebd90e892e
2 changed files with 8 additions and 2 deletions

View File

@ -22,6 +22,12 @@
"min": 3,
"required": true,
"env_variable": "APP_PASSWORD"
},
{
"type": "ip",
"label": "Network Interface (use 0.0.0.0 for all)",
"required": true,
"env_variable": "NW_INTERFACE"
}
]
}

View File

@ -21,8 +21,8 @@ services:
- 127.0.0.1
# - 10.21.21.200 # Points to unbound
ports:
- 53:53/tcp
- 53:53/udp
- ${NW_INTERFACE}:53:53/tcp
- ${NW_INTERFACE}:53:53/udp
- ${APP_PORT}:80
volumes:
- ${APP_DATA_DIR}/data/pihole:/etc/pihole