19 lines
581 B
Plaintext
19 lines
581 B
Plaintext
# Copy to .env and fill in all values — never commit .env
|
|
|
|
# PostgreSQL
|
|
POSTGRES_DB=financedb
|
|
POSTGRES_USER=financeuser
|
|
POSTGRES_PASSWORD=CHANGE_ME_STRONG_PASSWORD
|
|
|
|
# Full DSN used by SQLAlchemy (set automatically in docker-compose, or set manually)
|
|
DATABASE_URL=postgresql://financeuser:CHANGE_ME@localhost:5432/financedb
|
|
|
|
# JWT — generate with: python -c "import secrets; print(secrets.token_hex(32))"
|
|
SECRET_KEY=CHANGE_ME_32_BYTES_HEX
|
|
|
|
# CORS — comma-separated origins allowed to call the API
|
|
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
|
|
|
|
# App
|
|
DEBUG=false
|