# StoryCove Environment Configuration
# Copy this file to .env and configure for your environment

# Application URLs and CORS Configuration
STORYCOVE_PUBLIC_URL=http://localhost:6925
STORYCOVE_CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:6925

# Database Configuration
DB_PASSWORD=secure_password_here

# JWT Configuration  
JWT_SECRET=secure_jwt_secret_here

# Application Authentication
APP_PASSWORD=application_password_here

# Search Engine Configuration
SEARCH_ENGINE=typesense

# Typesense Search Configuration
TYPESENSE_API_KEY=secure_api_key_here
TYPESENSE_ENABLED=true
TYPESENSE_REINDEX_INTERVAL=3600000

# OpenSearch Configuration
OPENSEARCH_USERNAME=admin
OPENSEARCH_PASSWORD=secure_opensearch_password_here

# Image Storage
IMAGE_STORAGE_PATH=/app/images

# Frontend API URL (for development only - not used in Docker)
NEXT_PUBLIC_API_URL=http://localhost:8080/api