-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
53 lines (42 loc) · 1.55 KB
/
.env.example
File metadata and controls
53 lines (42 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Django Settings
DEBUG=True
SECRET_KEY=django-insecure-your-secret-key-here-make-it-long-and-secure
ALLOWED_HOSTS=localhost,127.0.0.1
# Database Configuration (PostgreSQL)
DATABASE_URL=postgresql://username:password@localhost:5432/dbname
# Redis Configuration
REDIS_URL=redis://localhost:6379/0
# GitHub API Configuration
GITHUB_TOKEN=your_primary_token_here
GITHUB_TOKENS=token1,token2,token3 # Comma-separated list for rotation
GITHUB_CLIENT_ID=your_github_oauth_client_id
GITHUB_CLIENT_SECRET=your_github_oauth_client_secret
# Email Configuration
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
DEFAULT_FROM_EMAIL=webmaster@example.com
# Security Settings (set these to True in production)
SECURE_SSL_REDIRECT=False
SESSION_COOKIE_SECURE=False
CSRF_COOKIE_SECURE=False
SECURE_BROWSER_XSS_FILTER=True
SECURE_CONTENT_TYPE_NOSNIFF=True
# CORS Settings
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# Celery Configuration
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
CELERY_ACCEPT_CONTENT=json
CELERY_TASK_SERIALIZER=json
CELERY_RESULT_SERIALIZER=json
CELERY_TIMEZONE=UTC
# Logging Level
LOG_LEVEL=INFO
# API Keys (add any additional API keys here)
# SENDGRID_API_KEY=your_sendgrid_api_key
# AWS_ACCESS_KEY_ID=your_aws_access_key
# AWS_SECRET_ACCESS_KEY=your_aws_secret_key
# AWS_STORAGE_BUCKET_NAME=your_bucket_name
# Custom Settings
# CUSTOM_SETTING=value
# Note: This is a template. Copy this file to .env and fill in the values.
# Make sure to never commit the .env file to version control.