mirror of
https://github.com/Alvin-Zilverstand/narrow_casting_system.git
synced 2026-04-17 14:48:06 +02:00
49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
|
|
# SnowWorld Narrowcasting System - Environment Configuration
|
||
|
|
|
||
|
|
# Server Configuration
|
||
|
|
PORT=3000
|
||
|
|
NODE_ENV=development
|
||
|
|
|
||
|
|
# Database Configuration
|
||
|
|
DB_PATH=./database/snowworld.db
|
||
|
|
|
||
|
|
# File Upload Configuration
|
||
|
|
MAX_FILE_SIZE=52428800
|
||
|
|
UPLOAD_DIR=./public/uploads
|
||
|
|
|
||
|
|
# CORS Configuration
|
||
|
|
CORS_ORIGIN=*
|
||
|
|
|
||
|
|
# WebSocket Configuration
|
||
|
|
WS_CORS_ORIGIN=*
|
||
|
|
|
||
|
|
# Security Configuration
|
||
|
|
SESSION_SECRET=your-secret-key-here
|
||
|
|
JWT_SECRET=your-jwt-secret-here
|
||
|
|
|
||
|
|
# External API Configuration (optional)
|
||
|
|
WEATHER_API_KEY=your-weather-api-key
|
||
|
|
WEATHER_API_URL=https://api.openweathermap.org/data/2.5/weather
|
||
|
|
|
||
|
|
# Logging Configuration
|
||
|
|
LOG_LEVEL=info
|
||
|
|
LOG_FILE=./logs/app.log
|
||
|
|
|
||
|
|
# Rate Limiting
|
||
|
|
RATE_LIMIT_WINDOW=15
|
||
|
|
RATE_LIMIT_MAX=100
|
||
|
|
|
||
|
|
# File Type Configuration
|
||
|
|
ALLOWED_IMAGE_TYPES=image/jpeg,image/png,image/gif,image/webp
|
||
|
|
ALLOWED_VIDEO_TYPES=video/mp4,video/webm,video/ogg
|
||
|
|
|
||
|
|
# Default Zones
|
||
|
|
DEFAULT_ZONES=reception,restaurant,skislope,lockers,shop
|
||
|
|
|
||
|
|
# Content Configuration
|
||
|
|
DEFAULT_CONTENT_DURATION=10
|
||
|
|
MAX_CONTENT_DURATION=300
|
||
|
|
|
||
|
|
# Schedule Configuration
|
||
|
|
MAX_SCHEDULE_DAYS_AHEAD=30
|
||
|
|
SCHEDULE_CHECK_INTERVAL=60000
|