1
0
mirror of https://github.com/amir20/dozzle.git synced 2026-01-04 20:14:59 +01:00

feat: Add support for both .yml and .yaml files and prioritize .yml for users file (#3789)

This commit is contained in:
Piyush Dixit
2025-04-11 10:16:03 +05:30
committed by GitHub
parent ebcedb2a67
commit 2f84190faa
2 changed files with 26 additions and 14 deletions

View File

@@ -10,7 +10,11 @@ If you do not have an authentication solution, then Dozzle has a simple file-bas
## File-Based User Management
Dozzle supports multi-user authentication by setting `--auth-provider` to `simple`. In this mode, Dozzle will try to read `/data/users.yml`.
**Dozzle** supports multi-user authentication by setting `--auth-provider` to `simple`. In this mode, Dozzle will attempt to read the users file from `/data/`, prioritizing `users.yml` over `users.yaml` if both files are present. If only one of the files exists, it will be used. The log will indicate which file is being read (e.g., `Reading users.yml file`).
### Example file paths:
- `/data/users.yml`
- `/data/users.yaml`
The content of the file looks like: