• 1 Post
  • 40 Comments
Joined 10 months ago
cake
Cake day: January 22nd, 2026

help-circle











  • No changes to the container image, but I had to fiddle with the config file. There is an option (tokenExpirationHours) to set for how long a token is valid, default is 2 hours. I can only find this in the commented example config, setting it to sometime really high like 50 let my friend upload his audiobooks without problems.

    Create a config file and place it somewhere the container can access it. Then add the environment variable FILEBROWSER_CONFIG=/some/path/to/your/config.yaml.

    Here is a snippet from my config:

    server:
      # ...
    auth:
      tokenExpirationHours: 50
      # ...
    userDefaults:
      fileLoading:
        maxConcurrentUpload: 100 # The inferface only shows up to 10 so I don't know if setting this value higher does anything
        uploadChunkSizeMb: 10
    

    tokenExpirationHours is the key to set.









  • I tried to set it up the other day and failed as well. Looking at their docker-compose examples for reverse proxy, there are a lot of environment variables not included in their original example. After adding all those variables, the container started with a message about first registration.

    I haven’t tested more than that yet.

    EDIT: Added it to my reverse proxy and was able to create the first account via Element.