From 70081f26475390bf7e9b9b0a856c8ae6e74c30d2 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 13 Nov 2025 17:31:12 +0100 Subject: [PATCH] docs: add note about flags and env (#5542) --- www/docs/configuration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/docs/configuration.md b/www/docs/configuration.md index 77f341a4..157a54e8 100644 --- a/www/docs/configuration.md +++ b/www/docs/configuration.md @@ -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. + +All flags should be available as environment variables prefixed with `FB_`. For example, the flag `--disable-thumbnails` is available as `FB_DISABLE_THUMBNAILS`. + ## Custom Branding You can customize File Browser to use your own branding. This includes the following: