2026-09-03 17:35:10 +01:00
|
|
|
# Copy to .env and adjust as needed. All values are optional and have sane
|
|
|
|
|
# development defaults (see src/Support/Config.php).
|
|
|
|
|
|
|
|
|
|
# Show full exception details in API error responses. Never enable in production.
|
|
|
|
|
APP_DEBUG=false
|
|
|
|
|
|
2026-09-03 17:51:56 +01:00
|
|
|
# Directory for generated files: the SQLite database and the JWT signing key.
|
|
|
|
|
# Defaults to <project>/storage. The Docker setup points this at a volume
|
|
|
|
|
# outside the bind-mounted source.
|
|
|
|
|
STORAGE_PATH=storage
|
|
|
|
|
|
2026-09-03 17:35:10 +01:00
|
|
|
# Path to the SQLite database file (absolute, or relative to the project root).
|
2026-09-03 17:51:56 +01:00
|
|
|
# Defaults to <STORAGE_PATH>/database.sqlite.
|
2026-09-03 17:35:10 +01:00
|
|
|
DATABASE_PATH=storage/database.sqlite
|
|
|
|
|
|
|
|
|
|
# Secret used to sign JWTs. Leave blank to auto-generate one into storage/secret.key.
|
|
|
|
|
JWT_SECRET=
|
|
|
|
|
|
|
|
|
|
# How long an issued token stays valid, in seconds (default: 86400 = 24h).
|
|
|
|
|
JWT_TTL=86400
|
2026-09-03 20:04:49 +01:00
|
|
|
|
2026-09-04 13:37:07 +01:00
|
|
|
# Base URL the app is reached at. Verification magic links point here, e.g.
|
|
|
|
|
# <APP_URL>/verify-email?token=... The Docker image serves the SPA and the API
|
|
|
|
|
# together on http://localhost:8080; a host `npm run dev` serves it on :5173.
|
|
|
|
|
APP_URL=http://localhost:8080
|
2026-09-03 20:04:49 +01:00
|
|
|
|
|
|
|
|
# Email delivery.
|
|
|
|
|
# mail — PHP's built-in mail() function (default)
|
|
|
|
|
# smtp — the SMTP server configured below
|
|
|
|
|
# log — append messages to MAIL_LOG_PATH instead of sending (dev/test)
|
|
|
|
|
MAIL_TRANSPORT=mail
|
2026-09-04 08:40:36 +01:00
|
|
|
MAIL_FROM=no-reply@todo.test
|
2026-09-04 11:28:59 +01:00
|
|
|
MAIL_FROM_NAME=Projects
|
2026-09-03 20:04:49 +01:00
|
|
|
MAIL_LOG_PATH=storage/mail.log
|
|
|
|
|
|
|
|
|
|
# Only used when MAIL_TRANSPORT=smtp.
|
|
|
|
|
MAIL_SMTP_HOST=
|
|
|
|
|
MAIL_SMTP_PORT=587
|
|
|
|
|
MAIL_SMTP_USERNAME=
|
|
|
|
|
MAIL_SMTP_PASSWORD=
|
|
|
|
|
MAIL_SMTP_ENCRYPTION=tls # tls | ssl | none
|