# .env.example - contains basic environment variable configurations. # Copy this file to .env and fill in the actual values before running the application. # Do not commit the .env file to version control as it may contain sensitive information. # All of the environment variables used by the system are listed here with default values or comments. # Uncomment and change values as needed. # The lines not commented out are mandatory and must be set for the system to function. # ============================= # Backend Database Configuration # ============================= # These variables configure the backend database connection. # These should be adjusted according to your database setup. DATABASE_USER=user # This should be set to something more secure in a real deployment DATABASE_PASSWORD=password # This should be set to something more secure in a real deployment DATABASE_NAME=mydb # This should be set to something more secure in a real deployment ## DATABASE_PROTOCOL=postgresql+asyncpg # default: postgresql+asyncpg # ============================= # Backend Logging Configuration # ============================= # Controls logging level and format for backend services. ## BACKEND_LOG_FORMAT="%(asctime)s - %(name)s - %(levelname)s - %(message)s" # default: %(asctime)s - %(name)s - %(levelname)s - %(message)s ## BACKEND_LOG_DATE_FORMAT="%Y-%m-%d %H:%M:%S" # default: %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 # default: false ## SSE_TIMEOUT=15 # default: 15 # ============================= # Backend Application Settings # ============================= # Miscellaneous backend settings. ## BOOKING_MAX_MONTHS=12 # default: 12 # ============================= # Frontend Environment Variables # ============================= # Variables used by the frontend application and for frontend-backend integration. ## DEFAULT_BOOKING_INTERVAL_MINUTES=30 # default: 30 ## BUSINESS_START=08:00 # default: 08:00 ## BUSINESS_END=18:00 # default: 18:00 # ============================= # Host and Port Configuration # ============================= BACKEND_HOST=localhost BACKEND_PORT=8000 FRONTEND_HOST=frontend FRONTEND_PORT=3000 DATABASE_HOST=localhost DATABASE_PORT=5432