Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qu4xuNCkFLDByYWUrjanny
21 lines
641 B
Bash
21 lines
641 B
Bash
# HTTP port of the API
|
|
APP_PORT=8080
|
|
# Required: signing key for JWT tokens, use a long random value
|
|
APP_JWT_SECRET=change-me-to-a-long-random-string
|
|
APP_JWT_TTL_HOURS=24
|
|
# debug | info | warn | error
|
|
APP_LOG_LEVEL=info
|
|
|
|
# sqlite | mariadb | postgres
|
|
DB_DRIVER=sqlite
|
|
# sqlite: path of the database file (default timetracker.db)
|
|
# mariadb/postgres: name of the database (default timetracker)
|
|
DB_NAME=timetracker.db
|
|
# mariadb/postgres only
|
|
DB_HOST=localhost
|
|
# 0 or empty selects the driver default (mariadb 3306, postgres 5432)
|
|
DB_PORT=
|
|
DB_USER=timetracker
|
|
DB_PASSWORD=
|
|
# postgres only: disable | require | verify-full ...
|
|
DB_SSLMODE=disable
|