You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
Add HTTP basic auth option via ENV variables.
This commit is contained in:
@@ -31,6 +31,10 @@ If you need to set/use an alternative host or port, you may do so by setting an
|
||||
|
||||
HOST=0.0.0.0 PORT=9000 crontab-ui
|
||||
|
||||
If you need to apply basic HTTP authentication, you can set user name and password through environment variables:
|
||||
|
||||
BASIC_AUTH_USER=user BASIC_AUTH_PWD=SecretPassword
|
||||
|
||||
Also, you may have to **set permissions** for your `node_modules` folder. Refer [this](https://docs.npmjs.com/getting-started/fixing-npm-permissions).
|
||||
|
||||
If you need to autosave your changes to crontab directly:
|
||||
|
||||
Reference in New Issue
Block a user