Configuration
Reference for the main Vaulthalla configuration areas operators commonly need to understand.
The main configuration file is:
| Platform | Path |
|---|---|
| Linux | /etc/vaulthalla/config.yaml |
| macOS | /Library/Application Support/Vaulthalla/config.yaml |
The keys are the same on both platforms. Installs write the file only when it is missing and upgrades never overwrite it. The daemon reads it at startup: restart it after an edit (sudo systemctl restart vaulthalla on Linux, sudo launchctl kickstart -k system/sh.vaulthalla.server on macOS).
Most operators should use CLI setup commands for lifecycle changes and edit config.yaml only for settings that are intentionally file-based.
Service Endpoints
Common sections:
1websocket_server:2 enabled: true3 host: 127.0.0.14 port: 369695 max_connections: 10246 7http_preview_server:8 enabled: true9 host: 127.0.0.110 port: 3697011 max_connections: 51212 max_preview_size_mb: 512
websocket_server is the API the web console (and public share pages) talk to through Nginx's /ws route. max_connections caps open WebSocket connections across all users and share recipients; past the cap, new connections get 503 with Retry-After until one closes, and the daemon logs a warning at most once a minute. Each open console tab holds one connection.
http_preview_server serves previews, downloads, media playback and text saves behind Nginx's /preview, /download and /upload routes. max_connections caps concurrent connections (each runs on its own thread, so a long video stream never blocks other requests); over the cap, new connections get 503 with Retry-After. max_preview_size_mb is the largest source file the server will render into an image or PDF preview (the shipped file sets 512; without the key the built-in default is 100). See Rich Previews.
The web service itself is managed by vaulthalla-web.service and normally listens on localhost for Nginx proxying.
The device listener serves Vaulthalla Desktop directly (TLS 1.3 with pinned keys on both sides; no Nginx):
1device_server:2 enabled: true3 port: 369724 remote: false5 max_connections: 2566 advertise:7 interfaces: true8 include_ipv6: true9 exclude_interfaces: ["docker*", "br-*", "veth*", "virbr*", "podman*", "cni*", "flannel*", "lxc*"]10 hostnames: []11 public: []
It listens on loopback (127.0.0.1, and ::1 when available) until remote is on, then on every interface, IPv4
and IPv6 ([::], or 0.0.0.0 where IPv6 is disabled). Change remote with vh device remote enable|disable
(super admins), which rebinds the listener at once and writes the value here; there is no host setting.
advertise decides what paired devices are told about where to reach the listener: interface addresses (interfaces,
include_ipv6, minus interfaces matching exclude_interfaces globs), extra LAN names (hostnames), and addresses
that reach it from outside (public: host, optional port (default: the listener's) and kind lan, vpn,
wan (default) or passthrough). The node never looks up its public address itself. A malformed entry stops the
daemon from starting, with a message naming it. Host names under public must be DNS-only records (a
Cloudflare-proxied name can't carry device connections). See Paired Devices and
Direct Device Connections.
Resumable uploads (/upload/sessions, used by Vaulthalla Desktop and the web console when the server offers them)
keep their state across restarts and resume at the byte:
1transfer:2 part_default_bytes: 67108864 # 64 MiB3 part_min_bytes: 1048576 # 1 MiB4 max_part_bytes: 536870912 # 512 MiB, device listener5 max_parts_in_flight: 4 # per session6 max_file_bytes: 0 # 0 = only the format limit7 max_session_files: 40968 commit_workers: 29 session_idle_ttl_hours: 2410 session_max_age_hours: 16811 http:12 max_part_bytes: 67108864 # web listener
max_part_bytes caps parts on the device listener (Vaulthalla Desktop); http.max_part_bytes caps them on the web
listener (browsers and share links, through the proxy). Behind Cloudflare's proxy keep http.max_part_bytes under the
plan's request body limit: at or below 95000000 on Free or Pro (Cloudflare's documented limit there is 100 MB).
Values must satisfy part_min_bytes <= part_default_bytes <= max_part_bytes <= 4 GiB, part_min_bytes <= http.max_part_bytes <= max_part_bytes, max_parts_in_flight 1 to 16 and commit_workers 1 to 8; otherwise the
daemon refuses to start and the console refuses the change. A file may be up to 68719476704 bytes (the AES-GCM
limit of the vault format). Parts are encrypted as they arrive and wait in <state>/.upload-spool/
(/var/lib/vaulthalla/.upload-spool on Linux; ciphertext only, outside every vault) until the file is sealed and
committed by one of commit_workers; a session expires session_idle_ttl_hours after its last part and at the latest
session_max_age_hours after it began, and its spool is then removed. How uploads behave for browsers, share links
and proxies: Uploads.
The S3-compatible gateway is a separate runtime service and is disabled by default:
1s3_gateway:2 enabled: false3 host: 127.0.0.14 port: 390005 require_sigv4: true6 allow_path_style: true7 allow_virtual_hosted_style: true8 default_upstream_profile: ""9 reapply_upstream_profile_changes: true10 multipart:11 min_part_size_mb: 512 abort_after_days: 713 synthetic_local_request_cost_usd:14 list: "0.00000001"15 head: "0.00000001"16 get: "0.00000001"17 put: "0.00000001"18 delete: "0.00000001"19 copy: "0.00000001"20 downloaded_gb: "0.00000000"21 uploaded_gb: "0.00000000"
See S3 Gateway Setup before enabling it on a network interface.
require_sigv4 should stay enabled outside development. When it is disabled, the gateway accepts a development-only auth context only if dev.enabled is true or the configured host is loopback. Production listeners should use real gateway credentials with explicit scope and normal Vaulthalla RBAC.
Clients can use the direct listener, or the managed Nginx dedicated S3 hostname:
1aws --endpoint-url http://127.0.0.1:39000 s3api list-buckets2aws configure set s3.addressing_style path3aws --endpoint-url https://s3.vaulthalla.example.com s3api list-buckets
The public S3 hostname is path-style reverse-proxy mode. SigV4 signs ordinary S3 paths such as /bucket/key; Nginx preserves the signed URI and marks the request as path-style-only so the router does not infer a bucket from the public host. s3_gateway.multipart.part_dir is no longer a valid setting; multipart parts use a Vaulthalla-owned hidden backing path with opaque per-upload directories.
default_upstream_profile names the upstream profile a CreateBucket uses for gateway credentials that were set to follow the server default; empty means none, and a credential that follows a default that isn't set gets an error, not a local vault. reapply_upstream_profile_changes decides whether a profile's changed sync strategy or conflict policy is also applied to the buckets already created from it, for credentials with no choice of their own.
synthetic_local_request_cost_usd is used only for S3 gateway credentials with local/cache budget enforcement enabled. It gives pure local buckets, metadata hits, cache hits, and sync-deferred gateway writes/deletes a nominal gateway-local cost for gateway_credential budgets without touching provider/vault/global upstream budgets.
Database
The database section controls PostgreSQL connection shape:
1database:2 host: localhost3 port: 54324 name: vaulthalla5 user: vaulthalla6 pool_size: 24
pool_size is the number of pooled PostgreSQL connections the server opens at startup. Values outside 4 to 256 are
clamped, with a warning in the log. Keep it at least sync.worker_threads + sync.max_concurrent_passes (16 on a
12-core host with the defaults) plus room for FUSE and the listeners; the server warns at startup when it is lower.
PostgreSQL's own max_connections (100 by default) must cover every pool that connects to it.
Use these setup commands rather than editing secrets directly:
1sudo vh setup db2sudo vh setup remote-db --host <host> --user <user> --database <name> --password-file <path>3vh secret set db-password /path/to/password-file
Sealed Secrets
The master secrets are sealed to the machine (a TPM on Linux, the Secure Enclave on macOS). These settings are read from config.yaml only, never from the console:
1secrets:2 require_hardware: false3 tpm_pcr_policy: none4 allow_development_file_backend: false
| Key | Default | Meaning |
|---|---|---|
require_hardware |
false |
true refuses to seal or unseal unless a hardware TPM or the Secure Enclave protects the secrets (no swtpm, no files). |
tpm_pcr_policy |
none |
pcr7 binds secrets sealed from now on to TPM PCR 7 (the secure-boot state), so they open only while it is unchanged. Existing secrets are rebound only by sudo vh secret reseal --pcr7. Linux TPM only: the Secure Enclave is unaffected. Any other value is refused at start. |
allow_development_file_backend |
false |
macOS without a usable Secure Enclave: allow plain 0600 key files. Development only. |
See How Secrets Are Sealed and Bind Secrets To Secure Boot before enabling pcr7: a firmware update locks bound secrets until they are restored.
Authentication
Authentication settings include access-token and refresh-token lifetimes:
1auth:2 access_token_expiry_minutes: 153 refresh_token_expiry_days: 30
Changing token lifetimes affects web and API sessions. Use short access tokens and rotate secrets deliberately.
Passkeys (WebAuthn)
Passkeys and security keys are bound to the host name people open the console at, the relying party ID. Vaulthalla never derives it from request headers, so a misconfigured reverse proxy can't widen it: you set it here or in Settings › Security › Passkeys / security keys.
1auth:2 webauthn:3 rp_id: vault.example.com4 rp_name: Vaulthalla5 origins:6 - https://vault.example.com
rp_id: a lowercase host name, never an IP address (browsers refuse passkeys for IP addresses, so a console reached only by IP can't use passkeys). Internationalized names use theirxn--form. Empty (the default) leaves passkeys unavailable.rp_name: the name authenticators show, 1 to 64 characters.origins: the exact console origins,https://hostorhttps://host:port, whose host isrp_idor a subdomain of it;http://localhost:<port>is allowed for development. Write them as the browser shows them: lowercase, no path or trailing slash, and no:443. Required whenrp_idis set, at most 16.
The daemon refuses to start, and the settings page refuses to save, when these rules are broken.
Each passkey belongs to the rp_id it was registered for. After a change, passkeys registered for the old one no
longer work. They are kept, not deleted; their owners sign in another way and register new ones.
Multi-factor sign-in (MFA)
1auth:2 mfa:3 policy: admins # optional | admins | all4 admin_webauthn_only: false5 admin_device_bound_only: false6 recovery_cooldown_hours: 24 # 1..1687 step_up_ttl_seconds: 300 # 60..900
policy: who must sign in with a second factor (a passkey or an authenticator app).admins(the default on new and upgraded installs) covers the super admin and every account whose role may manage users, admins, roles, settings or encryption keys;allcovers every account;optionalcovers nobody, except accounts an administrator marked Require MFA (vh user mfa require). An account that has a factor is always asked for it.- Raising the policy takes effect at each session's next request: a session signed in with a password alone is signed out, and its next sign-in is the guided setup. Nothing is grandfathered.
admin_webauthn_only: the accounts theadminspolicy names may use passkeys only, not authenticator apps.admin_device_bound_only: only passkeys that never leave their device (security keys, platform passkeys that don't sync), not synced ones such as 1Password or iCloud Keychain; it impliesadmin_webauthn_only. Both need passkeys configured (auth.webauthn.rp_id), or the daemon refuses the setting. An administrator whose only factor becomes disallowed is signed out and sets up an allowed one at the next sign-in.recovery_cooldown_hours: after a recovery-code sign-in or an MFA reset, key export, device approval, account and role administration, secrets and settings changes wait this long.step_up_ttl_seconds: how long confirming a sensitive change (step-up) lasts.
How the policy, step-up, recovery and lockout behave is described in Multi-Factor Sign-In.
Changing the policy, the two admin flags or auth.webauthn.rp_id is a settings change (it asks for a step-up),
recorded as auth.mfa.policy.change in the audit trail. Weakening it (a lower policy, an
admin flag turned off, a changed rp_id) is also emailed to operator_emails.recipients.security.
Idle Sign-Out
Web-console users are signed out after a period without using the console:
1services:2 connection_lifecycle_manager:3 idle_timeout_minutes: 30 # 0 turns idle sign-out off4 sweep_interval_seconds: 60 # how often open connections are checked
Only real input counts: keyboard, pointer and scrolling in an open console tab. Background activity (pages refreshing their data, reconnects, token renewal) never keeps a session alive, and the server keeps the time itself. Once a session has been idle for longer than the timeout, its sign-in is revoked: the page shows the sign-in screen, and reloading or reopening the console doesn't sign in again until the password is entered. Several tabs of one sign-in count as one, so working in any of them keeps all of them signed in.
Vaulthalla Desktop (paired devices) and share links aren't affected. Change the value in config.yaml or under Settings → Services → Connections in the web console.
Both max_connections caps are read for every new connection, so a change made in the web console applies at once; the minimum is 1.
Sharing
Sharing settings decide which share links can be created and opened:
1sharing:2 enabled: true # every share link3 enable_anonymous: true # public links: anyone with the URL4 enable_email_validated: true # links whose recipients verify an invited email address
Turning a switch off also stops links of that kind that were already handed out; turning it back on restores them. enable_email_validated was called enable_public_links before; the old name is still read, with a deprecation warning, and the new name wins if both are set. See Sharing.
Vault Defaults
New vaults start from these settings when the request doesn't name its own:
1vaults:2 s3:3 default_remote_sync_strategy: cache4 default_remote_conflict_policy: ask
| Key | Default | Meaning |
|---|---|---|
vaults.s3.default_remote_sync_strategy |
cache |
Sync strategy for a new S3/R2 vault created without --sync-strategy (or the web form's choice): cache indexes the bucket and fetches files when they are opened, sync keeps both sides complete, mirror makes one side match the other. |
vaults.s3.default_remote_conflict_policy |
ask |
What a new S3/R2 vault does when a file changed on both sides: ask, keep_local, keep_remote or keep_newest. With ask the conflict is recorded, that file waits for a decision (vh sync resolve or the console's Sync Conflicts page) and everything else keeps syncing; see Sync. |
Existing vaults keep their own settings; change them with vh vault sync update or the vault's Sync tab. An unknown value is a configuration error and the daemon refuses to start until it is fixed. Before these keys moved here they were s3_gateway.default_remote_sync_strategy and s3_gateway.default_remote_conflict_policy; the old keys are still read (with a deprecation warning) when the new ones are absent, and an invalid old value is ignored. See Sync Policies.
Pricing And Storage Rates
Pricing configuration controls whether price-budget checks can estimate provider costs:
1pricing:2 enabled: true3 4storage_rates_api:5 remote_refresh_enabled: false6 fail_open: true
Remote refresh is opt-in. If you enforce price budgets, review catalog freshness policy and verification requirements in Price Budgets.
S3 gateway per-key budgets use the same price-budget service and pricing catalogs. Remote-backed gateway operations evaluate global, provider, vault, gateway credential, and gateway credential/vault policies before upstream-costing work. Local-only gateway buckets do not consume remote provider price budgets.
Logging
File and folder names can be sensitive in their own right: a patient's name, a case number, a client. By default, log lines in vaulthalla.log and audit.log name a file by its entry id (entry 42). A path that has no entry yet (a failed create, for instance) appears as an opaque tag such as path#3f9a1c2e5b7d0a46.
1logging:2 file_paths: ids # ids | full
ids(the default): entry ids and tags only. A tag stays the same for one path while the daemon runs, so you can follow one file through the log. The tag's key is random for each run and never stored, so a tag can't be matched against guessed names.full: adds the vault path after the id, for exampleentry 42 (/Reports/q3.pdf). Use it only on hosts that hold nothing sensitive.
Config files written before this setting existed get ids. To look up an id, use vh fs or the console.
The console keeps names out of web server logs too. It addresses files by entry id in download and preview URLs, and share links carry their token after # (/share#vhs_…), which browsers never send to the server.
Audit Trail
The tamper-evident audit trail in the database (Audit Trail):
1auditing:2 trail:3 retention_days: 21904 head_interval_minutes: 155 syslog: false6 syslog_facility: authpriv
retention_days is at least 30 (the default is six years). head_interval_minutes sets how often the chain head is signed (1 to 1440). syslog also sends audit events to the local syslog under syslog_facility.
Sync Audit Retention
Sync event audit settings control how long sync event details are retained:
1sync:2 event_audit_retention_days: 303 event_audit_max_entries: 10000
Short retention reduces database growth but can remove useful sync troubleshooting context.
Sync Concurrency
1sync:2 worker_threads: 0 # 0 = one per CPU core (at least 4, at most 64)3 max_concurrent_passes: 4
A sync pass plans what a vault needs and hands each upload, download and delete to the sync worker threads, then waits
for them. Passes run on threads of their own (max_concurrent_passes of them; further due passes wait their turn), so
they never take a worker an operation needs. worker_threads is how many operations run at once across all vaults;
they mostly wait on the network, so one per CPU core is the default. Both are read at startup. More workers need more
database connections: see database.pool_size.
Vault Deletion
1vaults:2 retention_window: 5m # restorable this long after a delete; then the data is purged3 tpm_retention_window: 90d # how long a deleted vault's sealed key is kept4 s3:5 tpm_retention_window: 180d # key retention for S3 vaults (their data may stay in the bucket)
Durations take s, m, h, d or w. Each deletion records its own deadlines, so a change applies to vaults deleted afterwards. "Delete now" skips retention_window but never shortens the key retention window. The section is optional: a missing key keeps the default shown here. Settings saved from the web console apply immediately. See Deleting And Restoring Vaults.
Vault Format Conversion
1vaults:2 format_conversion:3 enabled: true # convert legacy-format content to VHF1 in the background4 max_mib_per_second: 32 # sealed bytes read per second; 0 = unlimited5 max_cpu_percent: 25 # share of one CPU core, 1 to 1006 pass_interval: 10m # how often a pass looks for work
The background conversion re-seals content stored in the legacy encryption format as VHF1 (see
Encryption). The limits are averages: one file is converted at
full speed and the pause after it keeps the rate and CPU share under the limits. A pass over a vault with nothing left
costs two indexed counts. These keys are read from config.yaml at startup and are not changed from the web console.
Track progress with vh vault format status all.
Vault Layout Migration
1vaults:2 layout_migration:3 cleanup_wait_days: 7 # 1 to 365: old path-named objects stay untouched this long after the cutover
vh vault migrate-layout moves an encrypting S3/R2 vault from path-named objects to opaque storage (see
Encryption). After the cutover the old objects stay in the
bucket for cleanup_wait_days; only then may --cleanup --confirm <vault name> delete them. A migration keeps the
waiting period it started with. Read from config.yaml at startup; not changed from the web console.
Remote Attach
1vaults:2 remote_attach:3 max_passes: 3 # 1 to 20: how often changed files are sent again before the vault switches over
vh vault remote attach turns a local vault into an S3/R2 vault in place (see
S3 and R2 vaults). The vault stays in use while its files
are uploaded; files that change meanwhile are sent again, up to max_passes times. After that the vault switches to
its bucket, and anything still newer on disk uploads with its first sync pass. Read from config.yaml at startup; not
changed from the web console.
Stats Snapshots
Stats snapshot settings control dashboard trend collection and how long its history is kept:
1stats_snapshots:2 enabled: true3 runtime_interval_seconds: 604 vault_interval_seconds: 36005 retention_days: 306 rollup_5m_retention_days: 307 rollup_1h_retention_days: 365
| Key | Default | Meaning |
|---|---|---|
retention_days |
30 |
Snapshot rows (stats_snapshot) and raw samples (stats_*_sample) older than this are deleted. Minimum 1. |
rollup_5m_retention_days |
30 |
5-minute trend rollups older than this are deleted. Dashboard windows of up to 7 days read this tier, so a value below 7 shortens those charts. Minimum 1. |
rollup_1h_retention_days |
365 |
Hourly trend rollups older than this are deleted. Longer dashboard windows (up to 30 days) read this tier. Never less than rollup_5m_retention_days; a smaller value is raised to it. |
The daemon purges once a day, starting shortly after it starts. Every key is optional: a missing key keeps the default shown here. Settings saved from the web console (Settings → Health history) apply at the next purge.
Earlier releases kept both rollup tiers for 365 days whatever the config said, so the 5-minute tier could grow to most of the database. The first purge after upgrading deletes that backlog, which can take a minute on a large install.
Reclaiming Disk Space After The First Purge
PostgreSQL does not return the space of deleted rows to the filesystem: autovacuum marks it reusable for new rows, so the table stops growing, but its file stays the same size. To shrink it once after upgrading, rewrite the table during a maintenance window. Check the size first:
1sudo -u postgres psql vaulthalla -c "SELECT pg_size_pretty(pg_total_relation_size('stats_metric_rollup'));"
VACUUM (FULL) rewrites the table and its indexes. It takes an exclusive lock, so stats writes from the daemon wait until it finishes, and it needs free disk space for a full copy of the table's remaining rows:
1sudo -u postgres psql vaulthalla -c "VACUUM (FULL, ANALYZE, VERBOSE) stats_metric_rollup;"
Where pg_repack is installed (the postgresql-<version>-repack package, and CREATE EXTENSION pg_repack; in the database), it does the same rewrite while holding the exclusive lock only briefly at the start and end:
1sudo -u postgres pg_repack --dbname=vaulthalla --table=public.stats_metric_rollup
Vaulthalla never runs either one itself. Use your database's name if it isn't vaulthalla. You only need to do this once: later purges remove a day's worth of rows at a time, and new rows reuse that space.
Dashboard backup/recovery readiness indicators should be treated as policy/status signals, not proof that backup work has run.
Rich Previews
Every key in this section is optional. Existing installs need no edits: a missing key keeps the default shown here, and upgrades never rewrite config.yaml. The shipped default config lists the preview keys commented out. The daemon reads them at startup, so restart the daemon after changing one.
Derived Cache And Thumbnails
1caching:2 max_size_mb: 102403 thumbnails:4 sizes: [128, 256, 512]5 expiry_days: 30
| Key | Default | Meaning |
|---|---|---|
caching.max_size_mb |
10240 |
Total size of the derived-artifact cache across all vaults: thumbnails, rendered PDF pages and image previews, video posters, converted STEP models and media transcodes. Least-recently-used artifacts are evicted past this size and regenerated on demand. Derived artifacts are encrypted with the vault key and are not charged to vault quotas. |
caching.thumbnails.sizes |
[128, 256, 512] |
File-list thumbnail sizes in pixels. All sizes are rendered from one decode of the source; sizes outside 16 to 2048 are ignored. |
caching.thumbnails.expiry_days |
30 |
Derived artifacts not used for this many days are deleted (and regenerated if needed again). |
caching.thumbnails.formats is still accepted but no longer consulted: which files get thumbnails is decided per file type by the daemon (raster images and PDFs).
Preview Settings
1preview:2 max_render_pixels: 640000003 media:4 integrity: optimistic # optimistic | strict5 remote: hydrate # hydrate | ranged | off6 hwaccel: auto # auto | software | vaapi | qsv | nvenc7 transcode: on_demand # off | on_demand8 derive:9 helper_dir: /usr/lib/vaulthalla/helpers10 max_concurrency: 211 max_queue: 6412 max_ram_mb: 204813 max_cpu_seconds: 30014 wall_timeout_seconds: 60015 max_output_mb: 51216 failure_ttl_hours: 2417 text:18 max_edit_bytes: 2097152
| Key | Default | Meaning |
|---|---|---|
preview.max_render_pixels |
64000000 |
Largest image or PDF page (source pixels, checked from the file header before decoding) the server renders. Progressive JPEGs get half this budget, because their decoder buffers the full resolution. Allowed range 1,000,000 to 1,000,000,000. |
preview.media.integrity |
optimistic |
How streamed bytes (downloads, media, models, text) are authenticated. optimistic starts serving at once and verifies the whole file's AES-GCM tag once per file version in the background; if verification fails, every stream of that version is cut off and later requests are refused until the file changes. strict verifies before the first byte is sent, which delays the start of large files. |
preview.media.remote |
hydrate |
How the HTTP lanes read a file in an S3/R2 vault whose bytes are not stored locally. hydrate fetches the whole object once (counted against the vault's request and price budgets), verifies it and keeps the encrypted local copy. ranged fetches only the requested ranges, pinned to the object version; those bytes are not authenticated per range. off never fetches: such files answer "content unavailable". File-list thumbnails never fetch remote content under any setting. |
preview.media.hwaccel |
auto |
Encoder for media transcodes. auto tries VAAPI, Quick Sync (qsv) and NVENC and falls back to software (libx264) on any failure; software never uses hardware; vaapi, qsv and nvenc prefer that encoder and still fall back to software. Hardware encoding has not been validated on real GPUs in this release. |
preview.media.transcode |
on_demand |
on_demand lets users convert media their browser can't play (needs vaulthalla-preview-media). off disables server-side transcoding. |
preview.derive.helper_dir |
/usr/lib/vaulthalla/helpers |
Where the optional converter helpers (vaulthalla-preview-cad, vaulthalla-preview-media) are installed. Set it in config.yaml only: the web console and CLI settings writes refuse to change it. A helper runs only if it and every directory above it are owned by root and not writable by group or others; a missing or untrusted helper makes that conversion report "converter unavailable". |
preview.derive.max_concurrency |
2 |
Conversions running at once (1 to 64). |
preview.derive.max_queue |
64 |
Conversions waiting to run (1 to 100000). Past this, new requests get "busy" until the queue drains. |
preview.derive.max_ram_mb |
2048 |
Address-space limit per conversion process (256 MiB minimum). |
preview.derive.max_cpu_seconds |
300 |
CPU-time limit per conversion process. |
preview.derive.wall_timeout_seconds |
600 |
A conversion still running after this many seconds is killed. |
preview.derive.max_output_mb |
512 |
Largest artifact a conversion may produce (for example a GLB or a transcode). |
preview.derive.failure_ttl_hours |
24 |
A failed conversion is not retried for this long, or until the file changes (0 to 8760). |
preview.text.max_edit_bytes |
2097152 |
Largest text file (and save body) the text editor may save, in bytes (1 KiB to 256 MiB). The web console opens text files up to 2 MiB regardless. |
Numeric values outside their allowed range are clamped. An unknown value for one of the preview.media choices is a configuration error, and the daemon refuses to start until it is fixed.
The converters run as separate, sandboxed processes from optional packages; see Optional Preview Packages. If previews fail but downloads work, see General Troubleshooting.
Operator Email
Operator email sections configure provider and recipients:
1email:2 enabled: true3 provider: resend4 from: "Vaulthalla <[email protected]>"5 base_url: "https://vault.example.com"6 7operator_emails:8 enabled: true
See Operator Emails.
Filesystem Mount
1mount:2 mode: multiuser # disabled | service_private | multiuser
mount.mode records which filesystem mount the operator intends. When the key is absent the build's default applies: multiuser on Linux (the FUSE mount at /mnt/vaulthalla), and disabled on macOS, where the server never mounts vaults (Finder access belongs to Vaulthalla Desktop). service_private is reserved for a mount only the service account uses and no platform provides it. On macOS, multiuser and service_private run as disabled with a [config] warning in the log rather than stopping the daemon. Any other value stops the daemon at startup rather than becoming a different mode. vh status shows the configured mode and the actual state side by side. See Filesystem Access.
Development Settings
Development settings are not production controls:
1dev:2 enabled: false
Do not enable development behavior on production hosts unless a maintainer-specific procedure requires it.
