mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-09 17:45:35 -04:00
63 lines
1.9 KiB
Plaintext
63 lines
1.9 KiB
Plaintext
|
|
# =============================
|
|
# Backend Database Configuration
|
|
# =============================
|
|
# These variables configure the backend database connection.
|
|
DATABASE_PROTOCOL=postgresql
|
|
DATABASE_USER=your_db_user
|
|
DATABASE_PASSWORD=your_db_password
|
|
DATABASE_NAME=your_db_name
|
|
DATABASE_HOST=localhost
|
|
DATABASE_PORT=5432
|
|
DATABASE_URL=postgresql://your_db_user:your_db_password@localhost:5432/your_db_name
|
|
|
|
# =============================
|
|
# Backend Logging Configuration
|
|
# =============================
|
|
# Controls logging level and format for backend services.
|
|
BACKEND_LOG_LEVEL=INFO
|
|
BACKEND_LOG_FORMAT="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
|
BACKEND_LOG_DATE_FORMAT="%Y-%m-%d %H:%M:%S"
|
|
|
|
# =============================
|
|
# Backend SSE (Server-Sent Events) Configuration
|
|
# =============================
|
|
# Controls SSE test mode and timeout for streaming endpoints.
|
|
SSE_TEST_MODE=false
|
|
SSE_TIMEOUT=15
|
|
|
|
# =============================
|
|
# Backend Server Configuration
|
|
# =============================
|
|
# Host and port settings for backend and frontend services.
|
|
BACKEND_HOST=localhost
|
|
BACKEND_PORT=8000
|
|
FRONTEND_HOST=frontend
|
|
FRONTEND_PORT=3000
|
|
|
|
# =============================
|
|
# Backend Application Settings
|
|
# =============================
|
|
# Miscellaneous backend settings.
|
|
BOOKING_MAX_MONTHS=12
|
|
# ENVIRONMENT: Set to 'development', 'production', etc.
|
|
BACKEND_ENVIRONMENT=development
|
|
|
|
# DEBUG: Set to 'true' to enable debug mode, 'false' otherwise
|
|
BACKEND_DEBUG=false
|
|
|
|
# Protocol settings for backend and frontend services.
|
|
BACKEND_PROTOCOL=http
|
|
FRONTEND_PROTOCOL=http
|
|
|
|
# =============================
|
|
# Frontend Environment Variables
|
|
# =============================
|
|
# Variables used by the frontend application and for frontend-backend integration.
|
|
FRONTEND_LOG_LEVEL=info
|
|
# Frontend environment: 'development', 'production', etc.
|
|
FRONTEND_ENVIRONMENT=development
|
|
DEFAULT_BOOKING_INTERVAL_MINUTES=30
|
|
BUSINESS_START=08:00
|
|
BUSINESS_END=18:00
|