Test runs stay quiet by default. Diagnostic logs can be enabled explicitly when troubleshooting, while normal application logging and saved scenario output remain available. Resolves #22. --------- Co-authored-by: ars9 <ars9@pm.me> Co-authored-by: agent <agent@halstation.halstation.local> Reviewed-on: #25 Co-authored-by: agent-codex <agent-codex@ars9.space>
60 lines
2.5 KiB
Bash
60 lines
2.5 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.
|
|
|
|
## production in the Docker image; also selects the default CORS origins
|
|
# NODE_ENV=development
|
|
# PORT=3000
|
|
|
|
## Application log output: console (default) or debug (controlled by DEBUG namespaces)
|
|
# LOG_MODE=console
|
|
|
|
## Optional account authentication (disabled unless explicitly enabled)
|
|
# AUTH_ENABLED=true
|
|
## Required when AUTH_ENABLED=true. Set a private, high-entropy value outside source control.
|
|
# AUTH_JWT_SECRET=replace-with-a-private-random-secret
|
|
## Browser cookie name and default JWT lifetime
|
|
# AUTH_COOKIE_NAME=liqa_auth
|
|
# AUTH_JWT_EXPIRES_IN=24h
|
|
## Expired logout revocations are cleaned at startup and on this cron schedule.
|
|
# AUTH_REVOKED_TOKEN_CLEANUP_CRON=0 3 * * *
|
|
|
|
## Origins allowed to call the API cross-origin (comma separated). Default: the
|
|
## Vite dev server (http://localhost:5173) in development, the compose port
|
|
## (http://localhost:13000) in production
|
|
# CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
|
|
|
|
## 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
|
|
|
|
## Run log data blocks whose pretty-printed JSON exceeds either limit start
|
|
## collapsed in the UI (bytes, lines); served to the client via /manifest.json
|
|
# RUN_LOG_DATA_COLLAPSE_BYTES=256
|
|
# RUN_LOG_DATA_COLLAPSE_LINES=5
|
|
|
|
## 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
|