aerokube / selenoid-ui

Graphical user interface for Selenoid project
https://aerokube.com/selenoid-ui/latest/
Apache License 2.0
305 stars 76 forks source link

restrict access via htpasswd not working #492

Closed cheesepaulo closed 7 months ago

cheesepaulo commented 2 years ago

I`m doing something wrong?

docker run -d -p 8080:8080 aerokube/selenoid-ui -users users.htpasswd

Checking the logs I get. 2022/08/06 00:52:00 [INIT] [Invalid users file: stat users.htpasswd: no such file or directory]

The file is in the same directory where I am running the docker run command I'm even using the same example from the documentation.

I generated the file with the command htpasswd -bc users.htpasswd test-password

vania-pooh commented 2 years ago

@cheesepaulo you obviously have to mount this file inside container with -v flag.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.