# ==============================================================================
#                              DEPRECATED
# ==============================================================================
# This file is deprecated. Please use /.env.example in the project root instead.
#
# The root .env.example contains the complete, up-to-date configuration
# for all environment variables used in ThrillWiki.
#
# Migration steps:
# 1. Copy /.env.example to /.env (project root)
# 2. Fill in your actual values
# 3. Remove this backend/.env file if it exists
# ==============================================================================

# Minimal configuration for backward compatibility
# See /.env.example for complete documentation

# Django Configuration
SECRET_KEY=your-secret-key-here
DEBUG=True
DJANGO_SETTINGS_MODULE=config.django.local

# Database
DATABASE_URL=postgis://user:password@localhost:5432/thrillwiki

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

# Required for Cloudflare Images
CLOUDFLARE_IMAGES_ACCOUNT_ID=your-cloudflare-account-id
CLOUDFLARE_IMAGES_API_TOKEN=your-cloudflare-api-token
CLOUDFLARE_IMAGES_ACCOUNT_HASH=your-cloudflare-account-hash

# Required for Road Trip Service
ROADTRIP_USER_AGENT=ThrillWiki/1.0 (https://thrillwiki.com)

# Security (configure properly for production)
ALLOWED_HOSTS=localhost,127.0.0.1
CORS_ALLOWED_ORIGINS=http://localhost:3000

# Frontend
FRONTEND_DOMAIN=https://thrillwiki.com
