37 lines
822 B
Plaintext
37 lines
822 B
Plaintext
# Database
|
|
DATABASE_URL=postgresql+psycopg2://postgres:postgres@db:5432/lomda
|
|
|
|
# JWT Secrets (CHANGE THESE IN PRODUCTION!)
|
|
JWT_SECRET_KEY=change_me_access
|
|
JWT_REFRESH_SECRET_KEY=change_me_refresh
|
|
JWT_ALGORITHM=HS256
|
|
|
|
# Token Expiration
|
|
ACCESS_TOKEN_EXPIRES_MINUTES=30
|
|
REFRESH_TOKEN_EXPIRES_DAYS=7
|
|
|
|
# Frontend URL
|
|
FRONTEND_URL=http://localhost:5173
|
|
|
|
# CORS Origins (comma-separated)
|
|
CORS_ORIGINS=http://localhost:5173
|
|
|
|
# Admin Seed Credentials
|
|
ADMIN_SEED_EMAIL=admin@example.com
|
|
ADMIN_SEED_PASSWORD=admin123
|
|
|
|
# Google OAuth (optional - get from Google Cloud Console)
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
GOOGLE_REDIRECT_URI=http://localhost:8000/auth/google/callback
|
|
|
|
# Upload Directory
|
|
UPLOAD_DIR=/data/uploads
|
|
|
|
# SMTP (optional, for future email features)
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USER=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM=
|