forked from mirrors/amnezia-wg-easy
Ability to change ip address WebUI binds to with WEBUI_HOST env var
This commit is contained in:
parent
28b12dde6c
commit
dd86dbaef0
3 changed files with 5 additions and 2 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue