# Stiftung Application - Production Environment Configuration
# Copy this file to .env and fill in your actual values

# Database Configuration
DB_PASSWORD=your_secure_database_password_here

# Django Configuration
SECRET_KEY=your_very_long_random_secret_key_here
DEBUG=False
ALLOWED_HOSTS=your.nas.ip.address,localhost,127.0.0.1
CSRF_TRUSTED_ORIGINS=http://your.nas.ip.address:8081,https://your.nas.ip.address:8081,http://localhost:8081

# Paperless-ngx Integration (Optional)
PAPERLESS_URL=http://your-paperless-server:8000
PAPERLESS_TOKEN=your_paperless_api_token_here

# Gramps Web Integration (Removed)

# Redis Configuration
REDIS_URL=redis://redis:6379/0

# Backup Configuration
BACKUP_RETENTION_DAYS=30
BACKUP_STORAGE_PATH=/app/backups

# Logging Configuration
LOG_LEVEL=INFO
LOG_FILE_PATH=/app/logs

# Security Configuration
SESSION_COOKIE_SECURE=False  # Set to True if using HTTPS
CSRF_COOKIE_SECURE=False     # Set to True if using HTTPS
