Skip to content

Environment Variables

Graham Steffaniak edited this page Jun 21, 2025 · 10 revisions

This page describes all of the (optional) environment variables

The preferred configuration method is to use the config.yaml. However, environment variables are available for secrets to specify config, and for developer purposes.

Here is a list of variables:

  • FILEBROWSER_ADMIN_PASSWORD: applies to auth.adminPassword.
  • FILEBROWSER_ONLYOFFICE_SECRET: applies to integrations.office.secret.
  • FILEBROWSER_CONFIG: used if valid and no config argument is provided to cli.
  • FILEBROWSER_DATABASE: path to database file applies to server.database when it's not configured in the config.
  • FILEBROWSER_FFMPEG_PATH: path to ffmpeg bin directory takes effect if integrations.media.ffmpegPath is not set.
  • FILEBROWSER_OIDC_CLIENT_ID: applies to auth.methods.oidc.clientId.
  • FILEBROWSER_OIDC_CLIENT_SECRET: applies to auth.methods.oidc.clientSecret.
  • FILEBROWSER_JWT_TOKEN_SECRET: applies to auth.key
  • FILEBROWSER_TOTP_SECRET: applies to auth.totpSecret
  • FILEBROWSER_RECAPTCHA_SECRET: applies to auth.methods.password.recaptcha.secret

Clone this wiki locally