18 lines
599 B
Plaintext
18 lines
599 B
Plaintext
# Rename this file to .env and fill in your actual values.
|
|
|
|
# For app.core.config.py
|
|
# Generate a strong secret key, e.g., using: openssl rand -hex 32
|
|
SECRET_KEY=your_very_secret_jwt_key_here
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
|
|
# For Database (app.core.config.py & alembic)
|
|
# Example for PostgreSQL:
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/tradingdb_dev
|
|
|
|
# To run with uvicorn (example):
|
|
# uvicorn app.main:app --reload
|
|
# Ensure the DATABASE_URL points to a running PostgreSQL instance.
|
|
# Apply migrations before running the app for the first time:
|
|
# alembic upgrade head
|