-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to disable authentication? #13
Comments
You can set this environment variable: |
this is not working for me |
this is not working for me either |
same here, not working for me - could this get a higher prior please ? |
Commenting to say I came looking for a possible solution. I'm just running with u:guest p:pass for now. |
What have you tried and what doesn't work exactly? There's a section in the documentation. |
I just tried that method by using sh in the container but it says 'filebrowser not found.' I tried using an env variable in some different ways like: FB_NOAUTH=true but no dice. |
# Init the database
docker run -it --rm -v `pwd`:/config hurlenko/filebrowser:latest -d /config/filebrowser.db config init --auth.method=noauth
# Add a user
docker run -it --rm -v `pwd`:/config hurlenko/filebrowser:latest -d /config/filebrowser.db users add username password --perm.admin
# Run
docker run -it --rm -p 8080:8080 -v `pwd`:/config hurlenko/filebrowser:latest |
Thanks! im using this and AriaNg on my server. youre doing a great job. :) |
( v2.22.4 ) |
Did you found a solution? |
I use both
username use Tried this on TrueNAS Scale VM |
Any solution how to do it via docker-compose.yaml? |
Hi, I'm a bit late to the party but i hope this helps, in docker compose you can config all the environment variables defined here, i was able to config the "noauth" like this: services:
filebrowser:
image: hurlenko/filebrowser
container_name: filebrowser
restart: always
ports:
- 8080:8080
volumes:
- ./data/explorer:/data
- ./data/conf:/config
environment:
- FB_NOAUTH=true but this won't work if it's not the the first time you run the container (i.e. the filebrowser.db file is already created in the container's /data folder), so it's important that you delete this file and then restart the compose file to make it work. |
Thanks for the filebrowser.db tip. After removing the file, it worked |
How to disable authentication?
The text was updated successfully, but these errors were encountered: