-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
39 lines (32 loc) · 870 Bytes
/
.env.example
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
# Django settings
DJANGO_SECRET_KEY=change-this-to-a-secure-secret-key
DJANGO_DEBUG=False
ALLOWED_HOSTS=localhost,127.0.0.1
# Database settings
DB_NAME=simple_imap2api
DB_USER=dbuser
DB_PASSWORD=change-this-to-a-secure-password
DB_HOST=db
DB_PORT=5432
# Email settings
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
EMAIL_HOST_USER=your-email@gmail.com
EMAIL_HOST_PASSWORD=your-app-specific-password
# Redis settings (for caching and Celery)
REDIS_URL=redis://redis:6379/0
# Security settings
CSRF_TRUSTED_ORIGINS=http://localhost,http://127.0.0.1
SECURE_SSL_REDIRECT=False
SESSION_COOKIE_SECURE=False
CSRF_COOKIE_SECURE=False
# Sentry settings (error tracking)
SENTRY_DSN=your-sentry-dsn
# Web server settings
PORT=80
# Sync settings
DEFAULT_SYNC_DAYS=30
MAX_SYNC_THREADS=3
SYNC_TIMEOUT=300