Sambee 0.7

Configuration Key Reference

This page is a compact map of the optional config.toml file.

Use config.example.toml as the source of truth for supported keys. This page explains the sections that matter most in day-to-day administration.

How to Use This Reference

  • Copy only the keys you actually need into the local config.toml.
  • Keep the file local to the deployment and mount it read-only in production.
  • Treat commented defaults in config.example.toml as the baseline behavior unless you override them intentionally.
  • Expect most basic deployments to use only a small subset of these keys.

High-Value Sections and Keys

SectionKeyOperational effect
[app]log_levelSets backend log verbosity
[security]auth_methodChooses between built-in password auth and proxy-managed auth
[security]access_token_expire_minutesChanges session-token lifetime
[admin]usernameSets the initial administrator username
[image_viewer]conv_size_threshControls when large images are always converted for viewing
[frontend_logging]logging_enabled, log_levelControls browser-console logging behavior
[frontend_logging]tracing_enabled, tracing_level, tracing_retention_hoursControls backend trace collection for frontend logging
[frontend_logging]tracing_components, tracing_username_regexRestricts tracing by component or user scope
[directory_cache]location, coalesce_interval_seconds, max_staleness_minutesControls the saved directory index Sambee keeps to make browsing and search recover faster after restarts
[smb]read_chunk_size_bytesChanges SMB read chunk size
[preprocessors.imagemagick]max_file_size_bytes, timeout_secondsSets conversion limits for ImageMagick preprocessing
[companion_downloads]metadata_feed_urlChanges where Sambee resolves Companion download metadata
[companion_downloads.pin]version, published_at, notes, asset URLsPins Companion download links to a specific published release instead of following the promoted feed

Keys That Deserve Extra Care

These areas have the highest operational impact:

  • auth_method: Can change who is responsible for authentication at the deployment boundary.
  • Frontend logging and tracing keys: Can change both local debugging visibility and backend trace collection volume.
  • directory_cache.location: Changes where the saved SMB directory index lives on disk.
  • Companion download keys: Change what download links Sambee presents to users.