29 lines
646 B
Bash
29 lines
646 B
Bash
# Database Connection String
|
|
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/summit_db
|
|
|
|
# Postgres Details
|
|
POSTGRES_SERVER=localhost
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_DB=summit_db
|
|
POSTGRES_PORT=5432
|
|
|
|
# Redis Connection String
|
|
REDIS_URL=redis://localhost:6379/14
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_DB=14
|
|
|
|
# Backend Settings
|
|
ENVIRONMENT=development
|
|
PORT=8000
|
|
BACKEND_CORS_ORIGINS=["http://localhost:5173", "http://127.0.0.1:5173"]
|
|
|
|
# Static Resources
|
|
UPLOAD_DIR=./upload
|
|
STATIC_URL_PREFIX=/static
|
|
|
|
# Security
|
|
SECRET_KEY=dev_secret_key_change_in_production
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=1440 |