-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.dev
69 lines (59 loc) · 1.68 KB
/
.env.dev
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
# Django settings
DJANGO_ENV=development
DEBUG=True
DEBUG_TOOLBAR=True
# Removed DEBUG_TOOLBAR_PANELS as it's now defined in settings.py
SECRET_KEY=dev-secret-key-replace-in-production
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
CSRF_TRUSTED_ORIGINS=http://localhost:8000,http://127.0.0.1:8000
CORS_ALLOWED_ORIGINS=http://localhost:8000,http://127.0.0.1:8000
# Database
DATABASE_URL=postgres://postgres:postgres@db:5432/postgres
DB_CONN_MAX_AGE=60
DB_CONN_HEALTH_CHECKS=True
# Redis
REDIS_URL=redis://redis:6379/1
REDIS_PASSWORD=
REDIS_SSL=True
# Cache
CACHE_TIMEOUT=60
CACHE_BACKEND=django_redis.cache.RedisCache
# Email settings
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
EMAIL_HOST=localhost
EMAIL_PORT=1025
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_USE_TLS=False
DEFAULT_FROM_EMAIL=dev@localhost
# Security - Disabled for development
SECURE_SSL_REDIRECT=False
SESSION_COOKIE_SECURE=False
CSRF_COOKIE_SECURE=False
SECURE_BROWSER_XSS_FILTER=True
SECURE_CONTENT_TYPE_NOSNIFF=True
SECURE_HSTS_SECONDS=0
SECURE_HSTS_INCLUDE_SUBDOMAINS=False
SECURE_HSTS_PRELOAD=False
# Stripe settings - Use test keys for development
STRIPE_PUBLISHABLE_KEY=pk_test_your_test_publishable_key
STRIPE_SECRET_KEY=sk_test_your_test_secret_key
STRIPE_API_VERSION=2023-10-16
STRIPE_WEBHOOK_SECRET=whsec_your_test_webhook_secret
STRIPE_CURRENCY=usd
# Sentry - Optional for development
SENTRY_DSN=
SENTRY_ENVIRONMENT=development
SENTRY_TRACES_SAMPLE_RATE=1.0
SENTRY_SEND_DEFAULT_PII=False
# Performance
CONN_MAX_AGE=0
ATOMIC_REQUESTS=True
# Local Development Tools
DJANGO_EXTENSIONS=True
SHELL_PLUS=True
# Docker Services
RABBITMQ_DEFAULT_USER=guest
RABBITMQ_DEFAULT_PASSWORD=guest
RABBITMQ_HOST=rabbitmq
RABBITMQ_PORT=5672