The environment variables of the server, the desktop app and the command-line program.
Last updated:
Everything is an environment variable. The server reads them from the process environment and from a .env file. .env.example in the repository lists them all with comments; this page covers the ones you are likely to change.
development, test or production. Production is stricter: see Docker.
APP_MODE
unset
local runs the server, the worker and the scheduler in one process on SQLite, with no Postgres and no object storage. Data goes in your user configuration directory, under vukem-tools.
HOST, PORT
localhost, 3000
Where the server listens.
DATABASE_URL
Postgres
The database. The queue, sessions and cache live in it.
QUEUE_IN_SERVE, SCHEDULE_IN_SERVE
true
Run the worker and the scheduler inside the server process.
QUEUE_CONCURRENCY
2
Conversions that run at once.
MAIL_MAILER
log
log writes mail to the log.
PASSWORD_AUTH
on
Email and password sign-in. Set off to leave only social sign-in; .env.example does. Local mode forces it on.
The server finds each engine on PATH, or at the path you give. It logs the version of each one at start, and hides the tools whose engine is missing.
Variable
Engine
QPDF_PATH
qpdf
PDFTOTEXT_PATH, PDFTOPPM_PATH
Poppler tools
GHOSTSCRIPT_PATH
Ghostscript
VIPS_PATH, VIPSHEADER_PATH
libvips
FFMPEG_PATH, FFPROBE_PATH
ffmpeg
YTDLP_PATH
yt-dlp
ENGINE_INSECURE_ALLOW_NETWORK=true runs the engines with the container's network instead of an empty one. Leave it unset unless a firewall outside the container gives the same guarantee.