Giter Club home page Giter Club logo

Comments (14)

 avatar commented on May 28, 2024 2

Thanks! im using this and AriaNg on my server. youre doing a great job. :)

from filebrowser-docker.

hurlenko avatar hurlenko commented on May 28, 2024 1
# 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

from filebrowser-docker.

luckyzor avatar luckyzor commented on May 28, 2024 1

( v2.22.4 ) My mistake - I tried adding them as docker env variables... :-( thank you for the docker commands - I will try them out asap

Did you found a solution?
I'm trying to do it in docker-compose no solution :\

from filebrowser-docker.

jo75 avatar jo75 commented on May 28, 2024

You can set this environment variable:
FB_NOAUTH=noauth

from filebrowser-docker.

unxplained avatar unxplained commented on May 28, 2024

this is not working for me

from filebrowser-docker.

francis-sousa avatar francis-sousa commented on May 28, 2024

this is not working for me either

from filebrowser-docker.

bveynde avatar bveynde commented on May 28, 2024

same here, not working for me - could this get a higher prior please ?

from filebrowser-docker.

 avatar commented on May 28, 2024

Commenting to say I came looking for a possible solution. I'm just running with u:guest p:pass for now.

from filebrowser-docker.

hurlenko avatar hurlenko commented on May 28, 2024

What have you tried and what doesn't work exactly? There's a section in the documentation.

from filebrowser-docker.

 avatar commented on May 28, 2024

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
or
FB_AUTH.METHOD=noauth

but no dice.

from filebrowser-docker.

bveynde avatar bveynde commented on May 28, 2024

( v2.22.4 )
My mistake - I tried adding them as docker env variables... :-(
thank you for the docker commands - I will try them out asap

from filebrowser-docker.

PikachuEXE avatar PikachuEXE commented on May 28, 2024

I use both

FB_NOAUTH=true
FB_AUTH.METHOD=noauth

username use noauth

Tried this on TrueNAS Scale VM

from filebrowser-docker.

BenRoe avatar BenRoe commented on May 28, 2024

Any solution how to do it via docker-compose.yaml?

from filebrowser-docker.

MaxiStarling56 avatar MaxiStarling56 commented on May 28, 2024

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.

from filebrowser-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.