-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
71 lines (61 loc) · 2.29 KB
/
.env.example
File metadata and controls
71 lines (61 loc) · 2.29 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# ===========================================
# RepoDesign Environment Configuration
# Copy this file to .env and update values
# ===========================================
# ===========================================
# SECURITY
# ===========================================
# Generate a new secret key for production:
# python -c "import secrets; print(secrets.token_urlsafe(50))"
SECRET_KEY=your-super-secret-key-change-in-production
# ===========================================
# DATABASE
# ===========================================
# PostgreSQL connection string
DATABASE_URL=postgres://repodesign:repodesign@postgres:5432/repodesign
# Individual database settings (alternative to DATABASE_URL)
POSTGRES_USER=repodesign
POSTGRES_PASSWORD=repodesign
POSTGRES_DB=repodesign
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
# ===========================================
# REDIS
# ===========================================
REDIS_URL=redis://redis:6379/0
CELERY_BROKER_URL=redis://redis:6379/1
# ===========================================
# DJANGO SETTINGS
# ===========================================
DEBUG=0
ALLOWED_HOSTS=localhost,127.0.0.1,repodesign-core,your-domain.com
# ===========================================
# CORS (Cross-Origin Resource Sharing)
# ===========================================
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001,https://your-domain.com
# ===========================================
# FRONTEND URLS
# ===========================================
NEXT_PUBLIC_API_URL=http://localhost:8000/api/v1
NEXT_PUBLIC_WS_URL=ws://localhost:8000/ws
# ===========================================
# MONITORING (Optional)
# ===========================================
# Sentry DSN for error tracking
# SENTRY_DSN=https://your-sentry-dsn
# ===========================================
# EMAIL (Optional)
# ===========================================
# EMAIL_HOST=smtp.gmail.com
# EMAIL_PORT=587
# EMAIL_USE_TLS=1
# EMAIL_HOST_USER=your-email@gmail.com
# EMAIL_HOST_PASSWORD=your-app-password
# ===========================================
# STORAGE (Optional - for production)
# ===========================================
# AWS S3 for file storage
# AWS_ACCESS_KEY_ID=your-access-key
# AWS_SECRET_ACCESS_KEY=your-secret-key
# AWS_STORAGE_BUCKET_NAME=repodesign-media
# AWS_S3_REGION_NAME=us-east-1