Skip to main content

Environment Variables

VariableDefaultDescription
ALCHEMIST_CONFIG_PATH~/.config/alchemist/config.tomlPath to config file
ALCHEMIST_CONFIG(alias)Alias for ALCHEMIST_CONFIG_PATH
ALCHEMIST_DB_PATH~/.config/alchemist/alchemist.dbPath to SQLite database
ALCHEMIST_DATA_DIR(none)Sets data dir; alchemist.db placed here
ALCHEMIST_TEMP_DIRdata dir + /tempDirectory for managed temporary uploads, conversion outputs, and update staging
ALCHEMIST_CONFIG_MUTABLEtrueSet false to block runtime config writes
ALCHEMIST_SERVER_PORTauto from 3000Require one specific HTTP port instead of falling forward when 3000 is busy
ALCHEMIST_SETUP_TOKEN(none)Optional extra setup-mode guard; setup endpoints require the matching token query parameter when set
ALCHEMIST_COOKIE_SECUREfalseSet true only behind a TLS-terminating reverse proxy so session cookies include Secure
ALCHEMIST_NO_PAUSE(unset)Skip the Windows-style "Press Enter to exit" pause after a fatal startup error
RUST_LOGinfoLog level: info, debug, alchemist=trace
ALCHEMIST_LOG_FORMATtextLog output format: text (human-readable, default) or json (one structured object per line, for Loki / Elasticsearch / Datadog ingestion). Overrides [system].log_format in the config.

Build and release automation also use ALCHEMIST_UPDATE_PUBLIC_KEY_B64 to embed the update-manifest verification key in release binaries. It is not a runtime setting for normal installs.

Default paths: XDG on Linux/macOS, %APPDATA%\Alchemist\ on Windows.

Docker

Always set path variables explicitly to paths inside your mounted volumes. Without this, files are lost when the container is removed.

environment:
- ALCHEMIST_CONFIG_PATH=/app/config/config.toml
- ALCHEMIST_DB_PATH=/app/data/alchemist.db

Recommended host bind mount:

volumes:
- ~/.config/alchemist:/app/config
- ~/.config/alchemist:/app/data