File Browser
Search…
File Browser
Welcome
Features
Installation
Upgrade from 1.x
Command Line Interface
filebrowser
filebrowser cmds
filebrowser cmds add
filebrowser cmds ls
filebrowser cmds rm
filebrowser config
filebrowser config cat
filebrowser config export
filebrowser config import
filebrowser config init
filebrowser config set
filebrowser hash
filebrowser rules
filebrowser rules add
filebrowser rules ls
filebrowser rules rm
filebrowser upgrade
filebrowser users
filebrowser users add
filebrowser users export
filebrowser users find
filebrowser users import
filebrowser users ls
filebrowser users rm
filebrowser users update
filebrowser version
Configuration
Contributing
Powered By
GitBook
filebrowser config init
Initialize a new database
Synopsis
Initialize a new database to use with File Browser. All of this options can be changed in the future with the command 'filebrowser config set'. The user related flags apply to the defaults when creating new users and you don't override the options.
1
filebrowser config init [flags]
Copied!
Options
Name
Shorthand
Usage
address
a
address to listen on
auth.header
​
HTTP header for auth.method=proxy
auth.method
​
authentication type
baseurl
b
base url
branding.disableExternal
​
disable external links such as GitHub links
branding.files
​
path to directory with images and custom styles
branding.name
​
replace 'File Browser' by this name
cert
t
tls certificate
commands
​
a list of the commands a user can execute
help
h
help for init
key
k
tls key
locale
​
locale for users
lockPassword
​
lock password
log
l
log output
perm.admin
​
admin perm for users
perm.create
​
create perm for users
perm.delete
​
delete perm for users
perm.download
​
download perm for users
perm.execute
​
execute perm for users
perm.modify
​
modify perm for users
Inherited
Name
Shorthand
Usage
config
c
config file path
database
d
database path
Previous
filebrowser config import
Next
filebrowser config set
Last modified
7mo ago
Copy link
Contents
Synopsis
Options
Inherited