Hearth documentation

Configuration reference

Hearth reads its settings from environment variables once, when it starts. A wrong or missing value stops it with every mistake listed at once, never a quiet fallback. Change a setting by editing .env or the compose file, then recreate the containers (docker compose up -d).

Settings that end in _FILE name a file that holds a secret, so the secret itself is never in the environment that every child process and log can see. Mount these files read-only.

Many features have two kinds of settings: the ones here, which an operator sets on the server, and the ones in Administration, which an admin changes in the web app without a restart. Each chapter of this guide says which is which.

This page is checked against the code: every setting Hearth reads is listed here with its default, and nothing is listed that Hearth no longer reads.

The server

PUBLIC_URL

Required.

The address people use, such as https://hearth.example.org, with no path. It sets the cookie's Secure flag, the passkeys' relying party and the only origin a changing request may come from. It must be https; plain http is accepted only for localhost.

LISTEN

Default: :8080.

Where the web app and the API are served. With HEARTH_ROLE=jobs, only /healthz and /readyz answer here.

HEARTH_ROLE

Default: all.

What this process of hearth serve does: web (the web app, the API, sync and the live events, no background jobs), jobs (every background job and timed job, and the mail indexer) or all (both). A server where background work should never slow people down runs one web and one jobs container of the same image (Installing).

METRICS_LISTEN

Default: empty (no metrics).

Where Prometheus scrapes /metrics, for example :9090. Never publish this address; keep it on an internal network (Monitoring).

TRUSTED_PROXIES

Default: empty.

Addresses or CIDR ranges, comma-separated, whose X-Forwarded-For header Hearth believes. Behind a proxy on the Docker host, list the gateway of every Docker network the container is on. Without it every visitor has the proxy's address, and the sign-in limit per network, the audit log, the signing trail and the "another network" caution on the Connect a device page all record the wrong one.

MASTER_KEY_FILE

Required.

A file holding 32 random bytes as 64 hex characters or base64 (openssl rand -hex 32). It seals the secrets kept in the database: two-factor secrets, external storage passwords and tokens, and encryption keys. Losing it loses them; see Encryption and the master key.

LOG_LEVEL

Default: info.

debug, info, warn or error.

MIGRATE_ON_START

Default: true.

Apply database migrations when serving starts. Set false where a separate step runs hearth migrate first, such as the Kubernetes migration Job. Either way is safe with several containers: one migrates while the others wait for its lock.

SHUTDOWN_SECONDS

Default: 30. Allowed: 1 to 600.

On SIGTERM, how long requests in flight (uploads) may take to finish before the process exits. The event streams end at once and /readyz answers 503 meanwhile.

WEB_DIR

Default: empty (the copy built into the binary).

Serve the web app from this folder instead. For working on the web app only.

Database and Valkey

DATABASE_URL

Required.

The Postgres connection string, for example postgres://hearth:PASSWORD@hearth-postgres:5432/hearth?sslmode=disable.

DATABASE_MAX_CONNS

Default: 20. Allowed: 2 to 500.

The size of each container's connection pool. Postgres's max_connections must cover every container's pool plus about five connections each.

VALKEY_URL

Required.

Valkey (or Redis), which holds sessions, the sign-in counts and the live events, for example redis://default:PASSWORD@hearth-valkey:6379/0.

File storage

STORAGE

Required.

Where files are kept: local (a folder) or s3 (an S3-compatible bucket). See Storage.

STORAGE_DIR

Required with STORAGE=local.

The folder for files.

S3_ENDPOINT

Required with STORAGE=s3.

The bucket's endpoint, as host or host:port.

S3_REGION

Default: empty.

The bucket's region, when the provider needs one.

S3_BUCKET

Required with STORAGE=s3.

The bucket's name.

S3_PREFIX

Default: empty.

A folder inside the bucket to keep Hearth's objects under.

S3_ACCESS_KEY

Required with STORAGE=s3.

The access key ID.

S3_SECRET_KEY_FILE

Required with STORAGE=s3.

A file holding the secret key.

S3_USE_SSL

Default: true.

Use https to reach the endpoint.

S3_PATH_STYLE

Default: true.

Address the bucket as endpoint/bucket rather than bucket.endpoint. MinIO and most self-hosted stores need path style.

EXTERNAL_LOCAL_ROOTS

Default: empty (none).

Server folders, comma-separated, inside which admins may mount external storage of the kind "Server folder". See Storage.

Files and sync

TRASH_DAYS

Default: 30. Allowed: 1 to 3650.

How many days deleted items stay in the trash. A retention policy can keep them longer (Retention and legal hold).

MAX_VERSIONS

Default: 50. Allowed: 1 to 1000.

How many versions are kept for each file, after older ones are thinned out.

FILES_SCAN_MINUTES

Default: 15. Allowed: 1 to 1440.

How often Hearth compares its records with the files on disk, to pick up changes made outside it.

SYNC_LINEAGE_DIR

Required.

A folder outside the database and the file store, kept out of backups and never written by a restore. Hearth keeps a value there that tells it when the database was put back from a backup; every sync app then compares its folders again instead of trusting its last state.

SYNC_GONE_DAYS

Default: 90. Allowed: 1 to 3650.

How long the sync feed remembers removed files. A device away longer than this compares all its folders again when it returns.

SYNC_HASH_MB_PER_S

Default: 16. Allowed: 1 to 1000.

How fast, in megabytes a second, the background reads files that have no content hash yet (and large files without a chunk list for block transfer). It also waits while the machine is busy.

SYNC_TOKEN_IDLE_DAYS

Default: 180. Allowed: 0 to 3650.

A sync device that makes no request for this many days is disconnected. 0 keeps it forever.

GUEST_IDLE_DAYS

Default: 180. Allowed: 0 to 3650.

A guest (someone outside the organisation, invited by address) who has not signed in for this many days is switched off, and whoever shared with them is told. 0 keeps guests forever.

FEDERATION

Default: on.

on or off: sharing with people on other Hearth and Nextcloud servers.

SPACES_EMBED_HOSTS

Default: empty (embeds off).

Host names, comma-separated, whose pages a space's embed block may show, such as www.youtube.com. Each name also allows the names below it.

Sessions and sign-in

SESSION_IDLE_HOURS

Default: 168. Allowed: 1 to 2160.

A browser session unused for this many hours ends.

SESSION_MAX_DAYS

Default: 30. Allowed: 1 to 365.

A browser session ends this many days after sign-in, used or not. A security policy can set shorter limits for some or all people (Security policies).

CONFIRM_MINUTES

Default: 30. Allowed: 1 to 1440.

How long a password confirmation lasts before security changes and admin actions ask for the password again.

APP_SESSION_IDLE_DAYS

Default: 180. Allowed: 1 to 3650.

A phone app's sign-in ends after this many days unused. While it is in use it does not end.

SIGNIN_FAILURES_PER_IP

Default: 300. Allowed: 1 to 10000.

How many wrong tries one network (an IPv4 address or an IPv6 /64) may make across all accounts within the window below. It is a ceiling against floods; each account's own waits are fixed and not set here.

SIGNIN_WINDOW_MINUTES

Default: 15. Allowed: 1 to 1440.

The window for the count above, from the network's first wrong try.

PASSWORD_HASHES_AT_ONCE

Default: 4. Allowed: 1 to 64.

How many password checks (argon2id, 64 MiB of memory each) run at once. More wait their turn.

Outgoing system mail

Hearth sends invitations, sign-in codes, share notices and the weekly summary through one SMTP server. Set all of these or none; without them nothing is mailed.

MAIL_SMTP_HOST

Default: empty (mail off).

The SMTP server's host name.

MAIL_SMTP_PORT

Required with MAIL_SMTP_HOST. Allowed: 1 to 65535.

The port: usually 465 with tls and 587 with starttls.

MAIL_SMTP_TLS

Required with MAIL_SMTP_HOST.

tls, starttls, or none. none is accepted only for a relay on localhost.

MAIL_SMTP_USERNAME

Default: empty (no login).

The SMTP login.

MAIL_SMTP_PASSWORD_FILE

Required with MAIL_SMTP_USERNAME.

A file holding the SMTP password.

MAIL_FROM

Required with MAIL_SMTP_HOST.

The sender address, a plain address such as noreply@example.org.

MAIL_FROM_NAME

Default: Hearth.

The sender's display name.

Mail

These settings are for the Mail app, where people read their own mailboxes. See Mailboxes and mail policy.

Default: 10. Allowed: 1 to 1000.

Attachments larger than this many megabytes are sent as share links instead of being attached.

MAIL_OAUTH_CLIENTS

Default: empty.

OAuth clients registered for Hearth on mail servers that accept only registered clients, as issuer=client-id pairs, comma-separated.

MAIL_GOOGLE_CLIENT_ID

Default: empty (Gmail with app passwords).

An OAuth client of your Google Cloud project, so people can add Gmail by signing in with Google.

MAIL_GOOGLE_CLIENT_SECRET_FILE

Required with MAIL_GOOGLE_CLIENT_ID.

A file holding that client's secret.

MAIL_MICROSOFT_CLIENT_ID

Default: empty (Outlook with app passwords).

An app registration in Microsoft Entra ID, so people can add Outlook and Microsoft 365 mailboxes by signing in with Microsoft.

MAIL_MICROSOFT_CLIENT_SECRET_FILE

Required with MAIL_MICROSOFT_CLIENT_ID.

A file holding that registration's client secret.

MAIL_PROVISION_URL

Default: empty (no mailboxes made).

The origin of your Hearth Mail server, such as https://mail.example.org. With it, Hearth can make mailboxes for new members (Administration, Mailboxes).

MAIL_PROVISION_TOKEN_FILE

Required with MAIL_PROVISION_URL.

A file holding an API key of an account on that mail server that may make, change and delete accounts.

Virus scan

See Virus scan.

CLAMAV_ADDRESS

Default: empty (no virus scan).

clamd's host:port, such as hearth-clamav:3310.

CLAMAV_TIMEOUT_SECONDS

Default: 120. Allowed: 5 to 3600.

How long clamd may stay silent during one scan (taking a chunk or giving its verdict). It is not a limit on the whole upload. Raise it to 300 for bulk imports of large files.

CLAMAV_RETRY_SECONDS

Default: 60. Allowed: 0 to 600.

In strict mode, how long an upload waits for clamd when it does not answer (during a signature reload or a restart) before the upload is refused. 0 refuses at once. It is also how long clamd may be silent before admins are told.

PDF engine

The PDF tools, signing and the detection of places to sign run in Hearth's own PDF engine, hearth-pdf, which the image ships.

PDF_ENGINE

Default: empty (PDF tools off).

The engine's path: /usr/local/bin/hearth-pdf in the image.

PDF_MODELS_DIR

Default: empty (scanned pages are not read when finding places to sign).

The engine's own text recognition models, used only to find places to sign or fill on scanned pages: /usr/local/share/hearth-pdf/models in the image.

PDF_FONTS_DIR

Default: empty (Latin, Greek and Cyrillic only).

The fonts the engine draws text with beyond Western European scripts: signatures, form values, added text, watermarks, headers and footers, redaction labels and new PDFs from text. The image ships them in /usr/local/share/typst/fonts. A missing file is reported at start.

PDF_SERVER_FONTS_DIR

Default: empty (none).

Complete fonts the engine may embed when an edit needs a letter that the PDF's own copy of the same font lacks. A font is matched by its exact name, never by a similar family. Only the folder's top level is read. Without it, such letters need the person's agreement to a similar font. Only use fonts whose licence allows this.

PDF_WORKERS

Default: 2. Allowed: 1 to 32.

PDF jobs at once. More wait their turn.

PDF_TIMEOUT_SECONDS

Default: 300. Allowed: 10 to 3600.

The time limit of one PDF job.

PDF_MEMORY_MB

Default: 1536. Allowed: 256 to 16384.

The memory limit of one PDF job, set before the engine starts.

PDF_TSA_URL

Default: empty (no timestamps).

An RFC 3161 timestamp authority for signatures, such as http://timestamp.digicert.com. Without one, signatures carry no trusted time and cannot be validated in the long term.

Text recognition

OCR_HELPER

Default: empty (no text recognition).

The text recognition helper, /usr/local/bin/hearth-ocr in the image. It serves Recognise text in the PDF workspace and the search index's reading of scans and pictures.

OCR_MODELS_DIR

Required with OCR_HELPER.

The helper's models: /usr/local/share/hearth-ocr/models in the image.

OCR_WORKERS

Default: 2. Allowed: 1 to 16.

Readings at once for Recognise text. The background indexing has one of its own.

OCR_THREADS

Default: 2. Allowed: 1 to 16.

Processor cores one reading may use.

OCR_TIMEOUT_SECONDS

Default: 300. Allowed: 10 to 3600.

The time limit of one reading.

OCR_MEMORY_MB

Default: 2048. Allowed: 512 to 16384.

The memory limit of one reading. A page takes about 1 GB with the small model and 0.5 GB with the tiny one.

OCR_TINY_MEMORY_PERCENT

Default: 65. Allowed: 1 to 100.

When the container's memory use is at or above this share of its limit, pages are read with the tiny model.

OCR_TINY_CPU_PERCENT

Default: 70. Allowed: 1 to 100.

When the container's processor use is at or above this share of its quota, pages are read with the tiny model.

Pictures and video

IMAGE_ENGINE

Default: empty (picture tools off).

The picture engine, /usr/local/bin/hearth-image in the image. Without it, pictures show as the browser draws them, with no thumbnails and no editing.

IMAGE_WORKERS

Default: 4. Allowed: 1 to 64.

Picture jobs at once (thumbnails, edits, batches). More wait their turn.

IMAGE_THREADS

Default: 2. Allowed: 1 to 16.

Processor cores one picture job may use.

IMAGE_TIMEOUT_SECONDS

Default: 120. Allowed: 5 to 3600.

The time limit of one picture job.

IMAGE_MEMORY_MB

Default: 3072. Allowed: 256 to 32768.

The memory limit of one picture job.

IMAGE_MAX_MEGAPIXELS

Default: 100. Allowed: 1 to 1000.

The largest picture read, checked from its header before it is decoded.

IMAGE_MAX_INPUT_MB

Default: 256. Allowed: 1 to 4096.

The largest picture file read, in megabytes.

FFMPEG_PATH

Default: empty (no video thumbnails).

ffmpeg, for video poster frames: /usr/local/bin/ffmpeg in the image.

Typst

Typst documents (.typ files) open and preview in the browser without any of these. The settings add Export PDF and packages.

TYPST_ENGINE

Default: empty (no Export PDF).

The Typst compiler, /usr/local/bin/typst in the image. Every compile runs inside the jail program hearth-jail, which must sit beside Hearth's binary (the image has it); Hearth does not start without it.

TYPST_FONTS

Required with TYPST_ENGINE.

The bundled fonts: /usr/local/share/typst/fonts in the image.

TYPST_WORKERS

Default: 2. Allowed: 1 to 32.

Exports at once.

TYPST_WAIT_SECONDS

Default: 10. Allowed: 1 to 300.

How long an export waits for a free worker before it is refused as busy.

TYPST_THREADS

Default: 2. Allowed: 1 to 16.

Threads one export uses.

TYPST_TIMEOUT_SECONDS

Default: 60. Allowed: 5 to 600.

The time limit of one export.

TYPST_MEMORY_MB

Default: 1536. Allowed: 128 to 16384.

The memory limit of one export.

TYPST_MAX_INPUT_MB

Default: 64. Allowed: 1 to 1024.

The size limit of a document and the files it uses, together.

TYPST_MAX_FILES

Default: 500. Allowed: 1 to 10000.

How many files one document may use.

TYPST_MAX_OUTPUT_MB

Default: 100. Allowed: 1 to 2048.

The largest PDF an export may write.

TYPST_PACKAGES

Default: empty (packages off).

The folder of Hearth's mirror of the Typst package registry.

TYPST_PACKAGES_URL

Required with TYPST_PACKAGES.

The registry the mirror fetches from: https://packages.typst.org.

TYPST_PACKAGE_MAX_MB

Default: 100. Allowed: 1 to 1024.

The largest package archive fetched. Unpacked, a package may be four times this size.

TYPST_SHARED_FONTS

Default: empty (none).

A folder for fonts an admin adds for everyone's Typst documents.

Office

See Office.

OFFICE_SHARED_DIR

Default: empty.

A folder shared with the Hearth Office container. Hearth writes the editor's colour themes and extra fonts there.

OFFICE_JWT_SECRET

Default: empty (Office files are not converted to PDF).

Hearth Office's JWT secret: the same value as the engine's own JWT_SECRET, at least 32 characters. It signs Convert to PDF's requests to the engine.

OFFICE_ENGINE_KEY

Default: empty (no assistant in the editor).

The key Hearth Office presents to Hearth's assistant gateway, at least 32 characters. It must match the key in the engine's assistant settings.

LANGUAGETOOL_URL

Default: empty (no spelling and grammar check).

Your own LanguageTool server, such as http://hearth-languagetool:8010. The Office editor's spelling and grammar add-in checks text through Hearth with it.

See Copilot and models and Search and text recognition.

LITELLM_URL

Default: empty (no models).

The LiteLLM proxy Hearth reaches its models through. It serves the Copilot, the Office assistant, Dictate, read aloud and the search index's search by meaning. Set it together with the key file.

LITELLM_KEY_FILE

Required with LITELLM_URL.

A file holding Hearth's key for the proxy.

QDRANT_URL

Default: empty (no search by meaning).

Hearth's own Qdrant, the vector store for search by meaning over files, notes, mail and the rest. The embedding model is chosen in Administration, Search index. Set it together with the key file.

QDRANT_API_KEY_FILE

Required with QDRANT_URL.

A file holding Qdrant's API key.

Reader and references

LIBRETRANSLATE_URL

Default: empty (phrases are not translated).

A LibreTranslate server for the reader's Look up, asked by Hearth from the server, such as http://libretranslate:5000. Without it single words still come from the dictionaries.

NCBI_TOOL

Default: hearth.

The program name sent to NCBI with every PubMed request.

NCBI_EMAIL

Default: empty.

A contact address sent to NCBI with PubMed requests. Use a role address, not a person's.

NCBI_API_KEY_FILE

Default: empty.

A file holding your NCBI API key. PubMed then allows 10 requests a second instead of 3, for everyone who has not set a key of their own.

CROSSREF_MAILTO

Default: empty.

A contact address sent to Crossref with DOI lookups, which puts them in Crossref's faster pool.

Talk and calls

See Calls.

TALK

Default: false.

true turns Talk on. The app appears only then.

TALK_SEALED_COPY_DEFAULT

Required with TALK=true.

true or false: whether new Talk accounts let Hearth keep a sealed copy of their message key, so that signing in on any device opens their messages, also after an admin resets their password. Each use of the copy is recorded in the audit log.

CALLS_LIVEKIT_URL

Default: empty (no calls).

Where browsers reach your LiveKit server, as a wss:// address. With it, the three settings below are required, and the camera, microphone and screen sharing are allowed on Hearth's pages.

CALLS_LIVEKIT_API_URL

Required with CALLS_LIVEKIT_URL.

Where Hearth reaches LiveKit's API (http or https), for example to take someone out of a call.

CALLS_LIVEKIT_KEY

Required with CALLS_LIVEKIT_URL.

The name of the API key LiveKit runs with.

CALLS_LIVEKIT_SECRET

Required with CALLS_LIVEKIT_URL.

That key's secret, at least 32 characters. It signs room tokens and LiveKit's webhooks to Hearth.

GIPHY_API_KEY

Default: empty (no GIFs).

A GIPHY API key for GIFs and stickers in Talk. Without it the switch in Administration stays off. The browser searches GIPHY directly, as GIPHY requires, so the key is given to signed-in browsers.

Passwords

See Passwords.

VAULTWARDEN_URL

Default: empty (Passwords off).

Vaultwarden's address as Hearth reaches it on the internal network, such as http://hearth-vaultwarden. Set it with the two settings below.

VAULTWARDEN_ADMIN_TOKEN_FILE

Required with VAULTWARDEN_URL.

A file holding Vaultwarden's admin token in plain text, at least 32 characters. Vaultwarden itself keeps only its hash.

VAULTWARDEN_EMAIL_DOMAIN

Required with VAULTWARDEN_URL.

The domain of vault sign-in names, which are <username>@<domain>. No mail is sent to these addresses.

VAULTWARDEN_PUBLIC_URL

Default: empty (vaults reached through Hearth only).

Where Bitwarden's apps and browser extensions reach the same server, as an https address. It is shown in the Passwords settings.

Photos

PHOTOS

Default: on.

on or off: the Photos app.

PHOTOS_FACES

Default: optin.

Face recognition: off, optin (each person turns it on) or on (on until a person turns it off).

PHOTOS_PLACES

Default: optin.

Places from photos' locations: off, optin or on, as above.

PHOTOS_RATE_DAY

Default: 60. Allowed: 0 to 100000.

How many background photo jobs each Photos lane may start a minute by day. What someone is looking at is never held back.

PHOTOS_RATE_NIGHT

Default: 600. Allowed: 0 to 100000.

The same, during the night window (JOBS_NIGHT_HOURS).

Phone and desktop apps

See The apps page.

PUSH_APNS_KEY_FILE

Default: empty (no iPhone push).

Apple's push service: a file holding the team's .p8 key. Set the four PUSH_APNS_* settings together or not at all.

PUSH_APNS_KEY_ID

Required with PUSH_APNS_KEY_FILE.

That key's ID.

PUSH_APNS_TEAM_ID

Required with PUSH_APNS_KEY_FILE.

The Apple developer team ID.

PUSH_APNS_TOPIC

Required with PUSH_APNS_KEY_FILE.

The app's bundle ID.

PUSH_FCM_SERVICE_ACCOUNT_FILE

Default: empty (no Android push).

A Google service account's JSON key for Firebase Cloud Messaging.

NATIVE_MIN_BUILD_IOS

Default: 0. Allowed: 0 to 2147483647.

The oldest build of the iPhone and iPad app the API still serves. An older one is told to update. 0 allows any.

NATIVE_MIN_BUILD_MACOS

Default: 0. Allowed: 0 to 2147483647.

The same for the Mac app.

NATIVE_MIN_BUILD_ANDROID

Default: 0. Allowed: 0 to 2147483647.

The same for the Android app.

APP_RELEASES_DIR

Default: empty (no builds served).

An absolute path to the folder of Hearth's own app builds (index.json, the updater's signed manifests and the builds), mounted read-only. They are offered on Administration, Get the apps, and to the apps' updaters.

Background jobs

JOBS_PAUSE_MEMORY_PERCENT

Default: 80. Allowed: 10 to 100.

Background work waits while the server's memory is at least this busy.

JOBS_PAUSE_CPU_PERCENT

Default: 90. Allowed: 10 to 100.

Background work waits while the server's processors are at least this busy.

JOBS_NIGHT_HOURS

Default: 01:00-07:00.

The night window, as HH:MM-HH:MM, when heavier background work runs faster. Empty: no night window.

JOBS_TIME_ZONE

Default: UTC.

The time zone of the night window and of the backup schedule, as an IANA name such as Europe/Berlin.

Backups

See Backups and restore.

BACKUP_RESTIC

Default: empty (Hearth's own backup off).

The restic program: /usr/local/bin/restic in the image.

BACKUP_WORK_DIR

Required with BACKUP_RESTIC.

A folder on disk for restic's cache and a restore's staging.

BACKUP_LOCAL_ROOTS

Default: empty (no local targets).

Folders on this server, comma-separated, that a backup may be written to. Other targets (S3, SFTP and the like) are set in Administration, Backups.

BACKUP_VAULTWARDEN_DIR

Default: empty.

Vaultwarden's data folder (read-only is enough), so the vaults are part of the backup.

BACKUP_THREADS

Default: 2. Allowed: 1 to 16.

Processor cores restic may use.

BACKUP_TEST_DATABASE_URL

Default: empty (a database is made and dropped beside the main one).

An empty Postgres database for the weekly restore test. Without it, Hearth makes and drops one next to DATABASE_URL's, which needs the CREATEDB right.

Error reports

ERROR_REPORTS_SERVER_DSN

Default: empty (off).

A Sentry-compatible project key (GlitchTip or Sentry) for the server's errors.

ERROR_REPORTS_WEB_DSN

Default: empty (off).

The same for errors in the web app.

ERROR_REPORTS_ENVIRONMENT

Default: production.

The environment name attached to reports.

Test switches

These let Hearth reach private and loopback addresses, which it refuses in normal use so that nobody can make the server fetch from your internal network. Use them only for tests on one machine.

Default: false.

Let Upload from link fetch from private addresses.

NOTES_CLIP_ALLOW_PRIVATE

Default: false.

Let the web clipper fetch pictures from private addresses.

COPILOT_WEB_ALLOW_PRIVATE

Default: false.

Let the Copilot read web pages on private addresses.

MAIL_ALLOW_PRIVATE_SERVERS

Default: false.

Let mailboxes live on private addresses.

FEDERATION_ALLOW_INSECURE

Default: false.

Let sharing with other servers use http and private addresses.

Deployment variables

These are read by the compose file, not by Hearth.

POSTGRES_PASSWORD

The password of Hearth's Postgres user, used to build DATABASE_URL.

VALKEY_PASSWORD

Valkey's password (requirepass), used to build VALKEY_URL.

REVISION

The commit the image was built from, passed as a build argument. Hearth names the build with it in error reports and on /healthz.