19 lines
479 B
Plaintext
19 lines
479 B
Plaintext
# Database Configuration
|
|
DATABASE_URL=postgresql://mapmaker:mapmaker@database:5432/mapmaker
|
|
|
|
# Security
|
|
SECRET_KEY=generate-secure-random-key-change-in-production
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
REFRESH_TOKEN_EXPIRE_DAYS=7
|
|
|
|
# Registration
|
|
# Set to "true" to allow new user registration, "false" to disable
|
|
ALLOW_REGISTRATION=false
|
|
|
|
# CORS (comma-separated origins)
|
|
ALLOWED_ORIGINS=http://localhost:8000,http://localhost:3000
|
|
|
|
# Environment
|
|
ENVIRONMENT=development
|