Ability to change ip address WebUI binds to with WEBUI_HOST env var

This commit is contained in:
Rahil Bhimjiani 2023-06-03 15:40:43 +05:30
parent 28b12dde6c
commit dd86dbaef0
No known key found for this signature in database
GPG key ID: 6D39AB4713797E6F
3 changed files with 5 additions and 2 deletions

View file

@ -4,6 +4,7 @@ const { release } = require('./package.json');
module.exports.RELEASE = release;
module.exports.PORT = process.env.PORT || 51821;
module.exports.WEBUI_HOST = process.env.WEBUI_HOST || '0.0.0.0';
module.exports.PASSWORD = process.env.PASSWORD;
module.exports.WG_PATH = process.env.WG_PATH || '/etc/wireguard/';
module.exports.WG_DEVICE = process.env.WG_DEVICE || 'eth0';