diff --git a/README.md b/README.md index 1f4b63669ad1980b326f8a062ca86b0a671ab875..3e76e42be26c0a70942d7fa069f85497a77d6b1c 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ provide all `nut` options without making too many compromises. ## Usage -1. Create necessary configurations in `./config`; both `.conf` and `.html` files -are supported. **`./config` includes sample configurations.** +1. Create necessary configurations in `./config`; `.conf`, `.html`, and `.users` +files are supported. **`./config` includes sample configurations.** 1. `docker-compose up -d` 1. If `MODE` is set to `netserver`, `nut` will be available on the container's port `3493`. diff --git a/context/entrypoint b/context/entrypoint index c84eb9bf4e2012b471135fab9017c8e987aa8a9b..e61934990b663bb1b896af0eaa801f72e1f0eafe 100755 --- a/context/entrypoint +++ b/context/entrypoint @@ -10,6 +10,7 @@ echo "Copying configurations from ${CONFIG_SOURCE} to ${CONFIG_DEST}..." find $CONFIG_SOURCE -name "*.conf" -exec cp '{}' $CONFIG_DEST \; find $CONFIG_SOURCE -name "*.html" -exec cp '{}' $CONFIG_DEST \; +find $CONFIG_SOURCE -name "*.users" -exec cp '{}' $CONFIG_DEST \; echo "Restarting services..."