docs: add flags info

This commit is contained in:
Henrique Dias 2025-11-16 09:07:02 +01:00
parent cb4e946ba2
commit 21f7d9d096
No known key found for this signature in database

View File

@ -2,6 +2,12 @@
Most of the configuration can be understood through the command line interface documentation. To access it, you need to install File Browser and run `filebrowser --help`. In this page, we cover some specific, more complex, topics.
## Flags as Environment Variables
In some situations, it is easier to use environment variables instead of flags. For example, if you're using our provided Docker image, it's easier for you to use environment variables to customize the settings instead of flags.
For all commands, all flags should be available as environment variables prefixed with `FB_`. You just need to make them capitalized snake case. For example: the flag `--disableTypeDetectionByHeader` becomes `FB_DISABLE_TYPE_DETECTION_HEADER`.
## Custom Branding
You can customize File Browser to use your own branding. This includes the following: