Обновление приложения
This commit is contained in:
18
backend/.env.example
Normal file
18
backend/.env.example
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user