Merran documentation Run Merran
Settings reference
This reference is generated from the checked-out server’s boot settings and registered module settings. It describes source defaults, not your running server’s values or a verified release. Internal state is excluded. Dedicated account, household, AI policy, and connection screens also store preferences outside this registry; follow configuration and AI setup for those.
How to read this reference
Section titled “How to read this reference”- Environment values take priority over saved values, then defaults. A value supplied by the environment locks the corresponding setting in the app. An empty environment variable counts as unset; removing an override can reveal an older saved value.
- Environment only settings require recreating the container after configuration changes. Other server settings are on Settings → Server and on the Whole server side of other pages in Settings; household settings require a household owner or admin.
- Unset means no declared value. The description may explain a runtime fallback. Docker and Compose can override these defaults: for example, the image sets its data directory, version, and installation method.
- Switch environment values accept true, 1, yes, on or false, 0, no, off, ignoring case. Lists use commas between entries. Choices use the listed values. Invalid values are rejected; boot errors name the environment variable.
- Secret values are never included here. Back up the server secret with the data, and keep credentials out of logs and issues.
Compose variables such as MERRAN_PORT, MERRAN_IMAGE, and TZ are deployment controls, not entries in this server registry. See configuration. Enabling a module does not supply its dependencies or credentials. Read AI privacy before enabling external processing.
server.devSetup
Section titled “server.devSetup”Development only: use a fresh temporary SQLite database on every start. Existing data is untouched. Rejected in production and Docker installs.
- Scope: server (environment only)
- Type: switch
- Default:
false - Environment:
MERRAN_DEV_SETUP
server.port
Section titled “server.port”The port Merran listens on.
- Scope: server (environment only)
- Type: number
- Default:
3000 - Environment:
PORT
server.logLevel
Section titled “server.logLevel”How much goes in the log. debug helps with troubleshooting.
- Scope: server (environment only)
- Type: choice
- Default:
info - Environment:
MERRAN_LOG_LEVEL - Choices:
fatal,error,warn,info,debug,trace,silent
server.logFormat
Section titled “server.logFormat”auto is readable lines in a terminal and JSON everywhere else.
- Scope: server (environment only)
- Type: choice
- Default:
auto - Environment:
MERRAN_LOG_FORMAT - Choices:
auto,pretty,json
server.dataDir
Section titled “server.dataDir”Where Merran keeps its files, and its SQLite database when there’s no Postgres.
- Scope: server (environment only)
- Type: text
- Default:
data - Environment:
MERRAN_DATA_DIR
server.databaseUrl
Section titled “server.databaseUrl”A Postgres address. Leave it unset to use SQLite.
- Scope: server (environment only)
- Type: text
- Default: Unset
- Environment:
DATABASE_URL
server.secret
Section titled “server.secret”Signs sessions and seals saved keys. Unset: made once and kept in the data folder.
- Scope: server (environment only)
- Type: secret
- Default: Unset
- Environment:
MERRAN_SECRET
server.publicUrl
Section titled “server.publicUrl”The address people use to reach Merran, like https://merran.example.com.
- Scope: server (environment only)
- Type: text
- Default: Unset
- Environment:
MERRAN_PUBLIC_URL
server.trustedProxies
Section titled “server.trustedProxies”Proxies in front of Merran whose X-Forwarded-For is believed: addresses or ranges, separated by commas (“172.16.0.0/12, 127.0.0.1”).
- Scope: server (environment only)
- Type: list
- Default:
[] - Environment:
MERRAN_TRUSTED_PROXIES
server.jobsLong
Section titled “server.jobsLong”How many long jobs run at once: imports, library runs, Discover, reading sites, prices. Quick jobs like emails and webhook deliveries have 4 places of their own.
- Scope: server (environment only)
- Type: number
- Default:
4 - Environment:
MERRAN_JOBS_LONG
server.version
Section titled “server.version”The release this is: the Docker image sets it. From source, it’s the server package’s version.
- Scope: server (environment only)
- Type: text
- Default: Unset
- Environment:
MERRAN_VERSION
server.installMethod
Section titled “server.installMethod”How Merran was installed. The Docker image sets it.
- Scope: server (environment only)
- Type: choice
- Default:
source - Environment:
MERRAN_INSTALL_METHOD - Choices:
source,docker
auth.passwords
Section titled “auth.passwords”Allow password sign-in. Disabling takes effect only after an administrator has a usable linked OIDC identity or registered passkey. Set true to recover password access.
- Scope: server (environment only)
- Type: switch
- Default:
true - Environment:
MERRAN_AUTH_PASSWORDS
auth.oauth
Section titled “auth.oauth”Allow connected applications to request household access through OAuth. Requires MERRAN_PUBLIC_URL and a restart.
- Scope: server (environment only)
- Type: switch
- Default:
false - Environment:
MERRAN_AUTH_OAUTH
auth.oidcDiscovery
Section titled “auth.oidcDiscovery”OIDC discovery document URL for the operator’s sign-in provider. Restart after changing.
- Scope: server (environment only)
- Type: text
- Default: Unset
- Environment:
MERRAN_AUTH_OIDC_DISCOVERY
auth.oidcClientId
Section titled “auth.oidcClientId”Client ID registered with the external OIDC provider.
- Scope: server (environment only)
- Type: text
- Default: Unset
- Environment:
MERRAN_AUTH_OIDC_CLIENT_ID
auth.oidcClientSecret
Section titled “auth.oidcClientSecret”Client secret for the external OIDC provider. Never exposed to clients.
- Scope: server (environment only)
- Type: secret
- Default: Unset
- Environment:
MERRAN_AUTH_OIDC_CLIENT_SECRET
auth.oidcAllowSignup
Section titled “auth.oidcAllowSignup”Allow the configured OIDC provider to create new Merran accounts. Off: people must explicitly link an existing account first.
- Scope: server (environment only)
- Type: switch
- Default:
false - Environment:
MERRAN_AUTH_OIDC_ALLOW_SIGNUP
auth.passkeys
Section titled “auth.passkeys”Allow passkey registration and sign-in. Requires a stable HTTPS public URL, or localhost for development.
- Scope: server
- Type: switch
- Default:
false - Environment:
MERRAN_AUTH_PASSKEYS
auth.twoFactor
Section titled “auth.twoFactor”Allow people to enroll an authenticator and recovery codes. Turning this off does not bypass an enrolled person’s second factor.
- Scope: server
- Type: switch
- Default:
false - Environment:
MERRAN_AUTH_TWO_FACTOR
auth.requireAdminTwoFactor
Section titled “auth.requireAdminTwoFactor”Require administrators to verify a second factor or a user-verified passkey before using the app. Also enables authenticator enrollment.
- Scope: server
- Type: switch
- Default:
false - Environment:
MERRAN_AUTH_REQUIRE_ADMIN_TWO_FACTOR
ai.anthropicKey
Section titled “ai.anthropicKey”A Claude key for the server, for the households the AI policy covers. Keys can also be added in Settings.
- Scope: server (environment only)
- Type: secret
- Default: Unset
- Environment:
MERRAN_ANTHROPIC_API_KEY
ai.openaiKey
Section titled “ai.openaiKey”An OpenAI key for the server, for the households the AI policy covers. Keys can also be added in Settings.
- Scope: server (environment only)
- Type: secret
- Default: Unset
- Environment:
MERRAN_OPENAI_API_KEY
ai.googleKey
Section titled “ai.googleKey”A Gemini key for the server, for the households the AI policy covers. Keys can also be added in Settings.
- Scope: server (environment only)
- Type: secret
- Default: Unset
- Environment:
MERRAN_GOOGLE_API_KEY
email.enabled
Section titled “email.enabled”Allow Merran to send email through the server administrator’s SMTP service. Off by default.
- Scope: server
- Type: switch
- Default:
false - Environment:
MERRAN_EMAIL_ENABLED
email.host
Section titled “email.host”SMTP hostname, such as smtp.resend.com. Private mail relays are allowed; only the server administrator can configure this.
- Scope: server
- Type: text
- Default: Unset
- Environment:
MERRAN_SMTP_HOST
email.port
Section titled “email.port”SMTP port: usually 587 with STARTTLS or 465 with TLS.
- Scope: server
- Type: number
- Default:
587 - Environment:
MERRAN_SMTP_PORT
email.security
Section titled “email.security”Require STARTTLS (usually port 587), or TLS from the start (usually port 465). Certificates are always checked.
- Scope: server
- Type: choice
- Default:
starttls - Environment:
MERRAN_SMTP_SECURITY - Choices:
starttls,tls
email.username
Section titled “email.username”SMTP username. Leave both username and password unset for a trusted relay without authentication.
- Scope: server
- Type: text
- Default: Unset
- Environment:
MERRAN_SMTP_USERNAME
email.password
Section titled “email.password”SMTP password or provider API key. Stored encrypted and never returned by the API.
- Scope: server
- Type: secret
- Default: Unset
- Environment:
MERRAN_SMTP_PASSWORD
email.from
Section titled “email.from”Sender email address allowed by the SMTP provider, such as invites@example.com. Messages use Merran as the sender name.
- Scope: server
- Type: text
- Default: Unset
- Environment:
MERRAN_EMAIL_FROM
video.enabled
Section titled “video.enabled”Import recipes from TikTok, YouTube, Instagram and Facebook links. Needs yt-dlp and ffmpeg, which come with the Docker image, and AI.
- Scope: server
- Type: switch
- Default:
true - Environment:
MERRAN_VIDEO_IMPORT
video.autoUpdate
Section titled “video.autoUpdate”Keep yt-dlp up to date, at start and weekly: it breaks when sites change, and is fixed within days.
- Scope: server
- Type: switch
- Default:
true - Environment:
MERRAN_YTDLP_AUTO_UPDATE
video.ytDlpPath
Section titled “video.ytDlpPath”Where yt-dlp is. Without it, Merran looks in its data folder’s tools folder, then on the PATH.
- Scope: server (environment only)
- Type: text
- Default: Unset
- Environment:
MERRAN_YTDLP_PATH
video.ffmpegPath
Section titled “video.ffmpegPath”Where ffmpeg is. Without it, Merran looks in its data folder’s tools folder, then on the PATH.
- Scope: server (environment only)
- Type: text
- Default: Unset
- Environment:
MERRAN_FFMPEG_PATH
video.cookiesFile
Section titled “video.cookiesFile”A cookies.txt from a browser, for sites that want a signed-in session (often Instagram). Without it, Merran uses cookies.txt in its data folder, if there is one.
- Scope: server (environment only)
- Type: text
- Default: Unset
- Environment:
MERRAN_YTDLP_COOKIES
nutrition.usdaKey
Section titled “nutrition.usdaKey”A USDA FoodData Central key for calculating nutrition from ingredients. Without one, AI estimates require configured AI access.
- Scope: server
- Type: secret
- Default: Unset
- Environment:
MERRAN_USDA_KEY
sites.enabled
Section titled “sites.enabled”Read recipe sites’ feeds in the background, for following sites and starter collections: the suggested sites and any a household follows, every few hours, as Merran and following robots.txt.
- Scope: server
- Type: switch
- Default:
true - Environment:
MERRAN_RECIPE_SITES
flaresolverr.url
Section titled “flaresolverr.url”Where FlareSolverr answers, like http://flaresolverr:8191. It may be on the home network. Merran asks it for a page only when someone imports a link and the site turned Merran away; never for background reads or photos.
- Scope: server
- Type: text
- Default: Unset
- Environment:
MERRAN_FLARESOLVERR_URL
photos.enabled
Section titled “photos.enabled”Enable optional AI photos for recipes without a photo. Requires eligible OpenAI or Google access; provider charges vary. Generated photos never replace a real photo.
- Scope: server
- Type: switch
- Default:
false - Environment:
MERRAN_AI_PHOTOS
photos.auto
Section titled “photos.auto”Make one by itself for each recipe added without a photo (typed in, read from text, or from the assistant). Never for a whole library moved in at once.
- Scope: server
- Type: switch
- Default:
true - Environment:
MERRAN_AI_PHOTOS_AUTO
photos.style
Section titled “photos.style”How the household’s AI photos look, all alike, so the library looks like one cookbook.
- Scope: household
- Type: choice
- Default:
marble - Environment: None
- Choices:
marble,rustic,bright,moody
voice.provider
Section titled “voice.provider”Who reads cook steps aloud: the device, Kokoro, or OpenAI. OpenAI requires eligible AI access and incurs provider charges. Unset: Kokoro when its address is configured, otherwise the device.
- Scope: server
- Type: choice
- Default: Unset
- Environment:
MERRAN_VOICE - Choices:
device,kokoro,openai
voice.kokoroUrl
Section titled “voice.kokoroUrl”Where Kokoro answers, like http://kokoro:8880. It may be on the home network.
- Scope: server
- Type: text
- Default: Unset
- Environment:
MERRAN_KOKORO_URL
voice.kokoroVoice
Section titled “voice.kokoroVoice”Kokoro’s voice: af_heart unless another is picked.
- Scope: server
- Type: text
- Default: Unset
- Environment:
MERRAN_KOKORO_VOICE
voice.openaiVoice
Section titled “voice.openaiVoice”OpenAI’s voice: marin unless another is picked.
- Scope: server
- Type: text
- Default: Unset
- Environment:
MERRAN_OPENAI_VOICE
stores.krogerClientId
Section titled “stores.krogerClientId”Your Kroger developer app’s client ID, from developer.kroger.com: for Kroger’s stores (Fry’s, Ralphs, King Soopers…), their products, prices and sales, and sending a list to the cart.
- Scope: server
- Type: text
- Default: Unset
- Environment:
MERRAN_KROGER_CLIENT_ID
stores.krogerClientSecret
Section titled “stores.krogerClientSecret”Your Kroger developer app’s client secret.
- Scope: server
- Type: secret
- Default: Unset
- Environment:
MERRAN_KROGER_CLIENT_SECRET
stores.walmart
Section titled “stores.walmart”Experimental: Walmart through Merran’s browser extension, in each person’s own Walmart tab. It finds each thing on the list, Merran picks a product, and it fills their Walmart cart. It stops at Walmart’s check that it’s a person and asks them, and it may need fixing whenever Walmart changes its site.
- Scope: server
- Type: switch
- Default:
false - Environment:
MERRAN_WALMART
stores.yours
Section titled “stores.yours”The stores the household shops at, by key (“costco”, “target”), for Find on the list. Its Kroger store, and Walmart when the server has it on, count without being here.
- Scope: household
- Type: list
- Default:
[] - Environment: None
stores.leanOnSales
Section titled “stores.leanOnSales”How much Fill the week and the weekly autoplan lean on what’s on sale at the household’s store: off, some, or lots. Only real deals count, not sales barely off the usual price.
- Scope: household
- Type: choice
- Default:
some - Environment: None
- Choices:
off,some,lots
stores.weeklyBudget
Section titled “stores.weeklyBudget”What the household means to spend on food in a week, in its store’s currency (dollars at Kroger). Fill the week and the weekly autoplan pick recipes that fit what’s left of it more often. Empty for none.
- Scope: household
- Type: number
- Default: Unset
- Environment: None
errorTracking.dsn
Section titled “errorTracking.dsn”Where to send errors: the DSN from Sentry, GlitchTip or Bugsink. Unset, errors stay in the server’s log.
- Scope: server
- Type: text
- Default: Unset
- Environment:
MERRAN_SENTRY_DSN
errorTracking.environment
Section titled “errorTracking.environment”The environment errors are filed under, to tell servers apart.
- Scope: server
- Type: text
- Default:
production - Environment:
MERRAN_SENTRY_ENVIRONMENT
errorTracking.sampleRate
Section titled “errorTracking.sampleRate”The share of errors to send, from 0 (none) to 1 (all).
- Scope: server
- Type: number
- Default:
1 - Environment:
MERRAN_SENTRY_SAMPLE_RATE
telemetry.enabled
Section titled “telemetry.enabled”Send the Merran project an anonymous summary once a day. off turns it off for good.
- Scope: server
- Type: switch
- Default:
false - Environment:
MERRAN_TELEMETRY
updates.check
Section titled “updates.check”Check GitHub every six hours for a newer release and show its notes to the server administrator. This does not install updates. GitHub receives the network request; see the privacy guide.
- Scope: server
- Type: switch
- Default:
true - Environment:
MERRAN_UPDATE_CHECK
webhooks.enabled
Section titled “webhooks.enabled”Let households send webhooks to tools like Home Assistant and n8n when things happen. Off sends nothing and keeps their webhooks for later.
- Scope: server
- Type: switch
- Default:
true - Environment:
MERRAN_WEBHOOKS
webhooks.homeNetwork
Section titled “webhooks.homeNetwork”Whether webhooks may go to addresses on the home network, like Home Assistant’s: off, for every household, or for the households chosen in Settings → Webhooks → Whole server. Off by default, because on a shared server it would let any household make Merran call machines on your network.
- Scope: server
- Type: choice
- Default:
off - Environment:
MERRAN_WEBHOOKS_HOME_NETWORK - Choices:
off,all,chosen
webhooks.homeNetworkHouseholds
Section titled “webhooks.homeNetworkHouseholds”The households whose webhooks may go to the home network, when that’s set to chosen.
- Scope: server
- Type: list
- Default:
[] - Environment: None
Next steps
Section titled “Next steps”Use troubleshooting for startup errors and locked settings, household roles for access rules, and updating, backups, and recovery before changing the installation.
© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.