cleaned up config
This commit is contained in:
@@ -2,18 +2,10 @@ server:
|
||||
database: "data/database.db"
|
||||
cacheDir: "data/tmp"
|
||||
sources:
|
||||
- path: "/files"
|
||||
name: Home
|
||||
config:
|
||||
defaultUserScope: "/users/" # new users will get created in /users/<username>
|
||||
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
|
||||
name: Backend
|
||||
- path: "/storage"
|
||||
name: Storage
|
||||
# Add your sources here.
|
||||
#externalUrl: 'https://<YOUR_IP>:8900' # if you plan to share externally, share links will be generated with this url
|
||||
name: storage
|
||||
config:
|
||||
defaultEnabled: true
|
||||
maxArchiveSize: 50 # maxiumum pre-archive size users are allowed to download at once.
|
||||
auth:
|
||||
tokenExpirationHours: 2
|
||||
@@ -21,6 +13,4 @@ auth:
|
||||
password:
|
||||
enabled: true
|
||||
minLength: 5
|
||||
signup: true
|
||||
adminUsername: admin
|
||||
adminPassword: admin # remove this after first startup if you want to change this password manually.
|
||||
signup: false
|
||||
|
||||
Reference in New Issue
Block a user