amir20 / dozzle

Realtime log viewer for docker containers.
https://dozzle.dev/
MIT License
5.02k stars 266 forks source link

[Question] How does work the File Based User Management? #3035

Closed Zer0xxxx closed 1 month ago

Zer0xxxx commented 1 month ago

From the doc: https://dozzle.dev/guide/authentication#file-based-user-management

But this is very obscure for me. I've just added Dozzle to my docker-compose.yml as explained earlier in the doc, and now I have to figure out what are --auth-provider, --auth-provider simple, etc.

I don't understand. Where those flags should go? Shoud I just create a file /data/users.yml in my Docker container? How?


EDIT: Oh, sorry, I'm tired and didn't see the docker-compose.yml tab below the tip. Maybe the docs could gain some clarity by going more quickly straight to the point, idk. :/

amir20 commented 1 month ago

I think they are pretty clear.

Zer0xxxx commented 1 month ago

I think they are pretty clear.

Still didn't understand how to make it work, though.

Zer0xxxx commented 1 month ago

Finally found out how to do it as I wanted, using a docker-compose.

This was a very confusing point in my experience. Having clear step-by-step documentation with a detailed file tree snippet would have been a much better experience in my opinion. It was also hard to guess which were the steps to do it. It definitively could be improved.