47 lines
1.9 KiB
Plaintext
47 lines
1.9 KiB
Plaintext
# =============================================================================
|
|
# Django Settings
|
|
# =============================================================================
|
|
SECRET_KEY=your-secret-key-here
|
|
DEBUG=True
|
|
ALLOWED_HOSTS=localhost,127.0.0.1
|
|
|
|
# =============================================================================
|
|
# Database - PostgreSQL (default)
|
|
# =============================================================================
|
|
# Option 1: Use DATABASE_URL (recommended)
|
|
# DATABASE_URL=postgresql://user:password@localhost:5432/{{ cookiecutter.project_slug }}
|
|
|
|
# Option 2: Use individual settings
|
|
DB_NAME={{ cookiecutter.project_slug }}
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=5432
|
|
DB_USER=postgres
|
|
DB_PASSWORD=postgres
|
|
|
|
# Option 3: Use SQLite for quick testing
|
|
# USE_SQLITE=true
|
|
|
|
# =============================================================================
|
|
# S3 Storage (Backblaze B2 or AWS S3) - Optional
|
|
# =============================================================================
|
|
# USE_S3_STORAGE=true
|
|
# AWS_ACCESS_KEY_ID=your-access-key-id
|
|
# AWS_SECRET_ACCESS_KEY=your-secret-access-key
|
|
# AWS_STORAGE_BUCKET_NAME=your-bucket-name
|
|
# AWS_S3_ENDPOINT_URL=https://s3.region.backblazeb2.com
|
|
# AWS_S3_REGION_NAME=your-region
|
|
|
|
# =============================================================================
|
|
# GCP Deployment Configuration (for fabfile.py)
|
|
# =============================================================================
|
|
GCP_PROJECT_ID={{ cookiecutter.project_slug }}
|
|
GCP_REGION={{ cookiecutter.gcp_region }}
|
|
CLOUD_SQL_INSTANCE={{ cookiecutter.cloud_sql_instance }}
|
|
CLOUD_SQL_PROJECT={{ cookiecutter.cloud_sql_project }}
|
|
SERVICE_NAME={{ cookiecutter.project_slug }}
|
|
|
|
# =============================================================================
|
|
# Email (for development)
|
|
# =============================================================================
|
|
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
|