- load .env in compose only when it exists; every setting has a default - comment out every setting in .env.example, with ## for descriptions and # VAR=default for settings to uncomment - update README, development docs and CLAUDE.md accordingly
36 lines
1.4 KiB
Bash
36 lines
1.4 KiB
Bash
## Optional overrides: copy to .env and uncomment the settings you need.
|
|
## Every setting has a default (shown below), so liqa runs without a .env file.
|
|
##
|
|
## Lines starting with "##" are descriptions.
|
|
## Lines starting with "# " are settings: remove the "# " to enable one.
|
|
|
|
# NODE_ENV=development
|
|
# PORT=3000
|
|
|
|
## SQLite database path
|
|
# DB_PATH=data/liqa.db
|
|
|
|
## Stored scenario files and run artifacts (downloads, failure dumps, traces)
|
|
# FILES_DIR=data/files
|
|
## Days to keep run artifacts before they are deleted
|
|
# FILE_RUN_EXPIRATION_DAYS=7
|
|
## When expired files are deleted (cron expression)
|
|
# FILE_CLEANUP_CRON=0 3 * * *
|
|
|
|
## Close open sessions that have been idle for longer than this many minutes
|
|
# SESSION_IDLE_TIMEOUT_MINUTES=30
|
|
## Delete closed sessions whose updatedAt is older than this many days
|
|
# SESSION_DELETE_CLOSED_DAYS=7
|
|
|
|
## Playwright trace recording for scenario runs: on | retain-on-failure | off
|
|
## (traces often reach ~10 MB per run; can be overridden per run in the run modal)
|
|
# PLAYWRIGHT_TRACE_MODE=off
|
|
|
|
## Chromium binary to use instead of Playwright's own (not needed in Docker,
|
|
## which ships Playwright's chromium-headless-shell)
|
|
# PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium
|
|
|
|
## Directory with the built client to serve at / (the Docker image sets it to
|
|
## "client"; leave unset to not serve the UI, e.g. when using the Vite dev server)
|
|
# CLIENT_DIR=client
|