add some config options

This commit is contained in:
CanbiZ 2025-06-17 11:52:28 +02:00
parent 244701e672
commit dad3d320a3

View File

@ -27,7 +27,7 @@ INFO="${BL}${CL}"
APP="FileBrowser Quantum"
INSTALL_PATH="/usr/local/bin/filebrowser"
CONFIG_PATH="/usr/local/community-scripts/config.yaml"
CONFIG_PATH="/usr/local/community-scripts/fq-config.yaml"
DEFAULT_PORT=8080
SRC_DIR="/"
@ -125,6 +125,17 @@ server:
port: $PORT
sources:
- path: "$SRC_DIR"
config:
disableIndexing: false
indexingIntervalMinutes: 240
exclude:
folders:
- "/proc"
- "/sys"
- "/dev"
- "/run"
- "/tmp"
- "/lost+found"
auth:
methods:
noauth: true
@ -136,6 +147,17 @@ server:
port: $PORT
sources:
- path: "$SRC_DIR"
config:
disableIndexing: false
indexingIntervalMinutes: 240
exclude:
folders:
- "/proc"
- "/sys"
- "/dev"
- "/run"
- "/tmp"
- "/lost+found"
auth:
adminUsername: admin
adminPassword: helper-scripts.com