# {{ project_name }} - Environment Variables
# Copy this file to .env and modify as needed

# API settings
PROJECT_NAME="{{ project_name }}"
DEBUG=true
API_V1_PREFIX=/api/v1

# Security
SECRET_KEY="{{ secret_key }}"
ACCESS_TOKEN_EXPIRE_MINUTES=30

# CORS
BACKEND_CORS_ORIGINS=["http://localhost:3000","http://localhost:8000","http://localhost"]

# Database
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/{{ project_name|lower|replace('-', '_')|replace(' ', '_') }}
SQL_ECHO=false
DB_POOL_SIZE=5
DB_MAX_OVERFLOW=10
DB_POOL_TIMEOUT=30
DB_POOL_RECYCLE=1800

# Redis (optional)
REDIS_URL=redis://localhost:6379/0
CACHE_TTL=300

# Logging
LOG_LEVEL=INFO

# Rate limiting
RATE_LIMIT_PER_MINUTE=100

# Docker settings
DOCKER_TARGET=development  # development or production
APP_PORT=8000
DB_PORT=5432
REDIS_PORT=6379
PGADMIN_PORT=5050
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB={{ project_name|lower|replace('-', '_')|replace(' ', '_') }}
PGADMIN_EMAIL=admin@example.com
PGADMIN_PASSWORD=admin