Reference

Environment variables

The main environment variables of a RE:GINE deployment.

Every variable is documented in .env.example. The main ones:

VariablePurpose
DOMAIN / PUBLIC_SCHEME / PUBLIC_URLHostnames — see Installation.
LLM_PROVIDERollama (default), anthropic, openai or gemini.
LLM_MODELProvider-specific model. Default qwen3.6:latest.
OLLAMA_BASE_URLe.g. http://host.docker.internal:11434.
ANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEYShared provider keys.
AUTH_DISABLED1 to bypass auth (dev only).
OIDC_ISSUER / OIDC_CLIENT_ID / OIDC_CLIENT_SECRET / OIDC_AUDIENCEOIDC authentication.
OIDC_TOKEN_AUTH_METHODToken endpoint client authentication: client_secret_basic (default) or client_secret_post; must match the IdP's registration.
API_TOKENStatic bearer alternative to OIDC.
SETTINGS_SECRET_KEYKey encrypting stored settings (Fernet).
GHIDRA_MCP_AUTH_TOKENEmpty on loopback; set it if the Ghidra REST port ever leaves its network namespace.
GHIDRA_MCP_PUBLIC_URLRaw Ghidra MCP bridge URL shown in the UI.
MAX_UPLOAD_MBUpload cap in MB (default 200).
ENABLE_DYNAMIC_ANALYSIS0 for safe mode (no emulation or debugger).
TAGRegistry tag for compose.release.yml: latest, nightly or vX.Y.Z.
SEARXNG_SECRETRequired by SearXNG.
After a ghidra-mcp restart the project survives on the volume but the in-memory program list is empty. The web UI reloads it automatically when you open a job.
Copyright © 2026