25 lines
586 B
Plaintext
25 lines
586 B
Plaintext
# Database Configuration
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_USER=your_user
|
|
DB_PASSWORD=your_password
|
|
DB_DATABASE=your_database
|
|
|
|
# JWT Configuration
|
|
SECRET_KEY=your-super-secret-key-change-in-production
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=1440
|
|
|
|
# Application Settings
|
|
APP_HOST=0.0.0.0
|
|
APP_PORT=8000
|
|
WORKERS=1
|
|
DEBUG=False
|
|
|
|
# Default Admin Account (created on first startup)
|
|
ADMIN_EMAIL=admin@example.com
|
|
ADMIN_PASSWORD=admin123
|
|
|
|
# CORS Settings (comma separated, for development)
|
|
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000,http://localhost:5173,http://127.0.0.1:5173
|