Newer
Older
bugtrail / .env.example
# Live Testing Tool server environment
# Copy to .env (docker-compose reads it) and adjust.

# Postgres connection for the server (inside docker network: postgres host)
DATABASE_URL=postgresql+asyncpg://ltt:ltt@postgres:5432/ltt

# Where uploaded files/screenshots are stored
FILES_DIR=/srv/data/files

# Any long random string (used for future signed operations)
SECRET_KEY=change-me-to-a-long-random-string

# Session lifetimes
WEB_SESSION_TTL_DAYS=30
EXTENSION_SESSION_TTL_DAYS=180

# Max upload size in bytes (25 MB default)
MAX_UPLOAD_BYTES=26214400

# CORS origins allowed for the web panel dev server
CORS_ORIGINS=["http://localhost:5173","http://127.0.0.1:5173"]