From 082c9f47979dc2494f7f461f77d85e422b356b63 Mon Sep 17 00:00:00 2001 From: akanealw Date: Fri, 24 Apr 2026 00:27:52 +0000 Subject: [PATCH] added config file details --- filebrowser/data/config.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/filebrowser/data/config.yaml b/filebrowser/data/config.yaml index e69de29..3c2fced 100644 --- a/filebrowser/data/config.yaml +++ b/filebrowser/data/config.yaml @@ -0,0 +1,25 @@ +server: + database: "data/database.db" + cacheDir: "data/tmp" + sources: + - path: "/files" + name: Home + config: + defaultUserScope: "/users/" # new users will get created in /users/ + defaultEnabled: true # new users automatically get access to the source + createUserDir: true # a user "bill" will see files from /files/users/bill + - path: "/home/filebrowser" # mount the docker home folder for convenience + - path: "/storage" + name: Backend + # Add your sources here. + #externalUrl: 'https://:8900' # if you plan to share externally, share links will be generated with this url + maxArchiveSize: 50 # maxiumum pre-archive size users are allowed to download at once. +auth: + tokenExpirationHours: 2 + methods: + password: + enabled: true + minLength: 5 + signup: true + adminUsername: admin + adminPassword: admin # remove this after first startup if you want to change this password manually.