chore: make .env optional and comment out all example settings
- 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
This commit is contained in:
1 parent
b0f2c72b5f
commit
a6d468bd2c
5 files changed
+37
-29
No files matched your search
+30
-25
@@ -1,30 +1,35 @@
|
||||
NODE_ENV=development
|
||||
PORT=3000
|
||||
## 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.
|
||||
|
||||
# SQLite database path
|
||||
DB_PATH=data/liqa.db
|
||||
# NODE_ENV=development
|
||||
# PORT=3000
|
||||
|
||||
# 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 * * *
|
||||
## SQLite database path
|
||||
# DB_PATH=data/liqa.db
|
||||
|
||||
# Chromium binary to use instead of Playwright's own (not needed in Docker,
|
||||
# which ships Playwright's chromium-headless-shell)
|
||||
## 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
|
||||
|
||||
# Session lifecycle
|
||||
# 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
|
||||
|
||||
# Directory with the built client to serve at / (set to "client" in the Docker image;
|
||||
# leave empty to not serve the UI, e.g. when using the Vite dev server)
|
||||
# CLIENT_DIR=
|
||||
## 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
|
||||
Reference in new issue
Block a user