# LunarFront — Environment Variables
# Copy to .env and adjust values for your setup.
# Docker Compose overrides host values (postgres, valkey) automatically.

# Database (PostgreSQL 16)
DATABASE_URL=postgresql://lunarfront:lunarfront@localhost:5432/lunarfront

# Valkey / Redis
REDIS_URL=redis://localhost:6379

# JWT — use a strong random secret in production
JWT_SECRET=change-me-in-production-use-a-long-random-string

# API Server
PORT=8000
HOST=0.0.0.0

# Environment
NODE_ENV=development

# Logging (optional)
# LOG_LEVEL=info
# LOG_FILE=./logs/lunarfront.log

# File Storage (optional — defaults to local)
# STORAGE_PROVIDER=local
# STORAGE_LOCAL_PATH=./data/files

# CORS (optional — defaults to * in development)
# CORS_ORIGINS=https://admin.example.com

# Frontend URL (used in password reset links)
# APP_URL=http://localhost:5173
