-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
39 lines (33 loc) · 1.08 KB
/
env.example
File metadata and controls
39 lines (33 loc) · 1.08 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
# Django Settings
DJANGO_SECRET_KEY=your-secret-key-here
DJANGO_DEBUG=True
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,testserver
# Database Configuration
# Set to 'postgresql' for production, 'sqlite' for local development
DATABASE_ENGINE=sqlite
# PostgreSQL Settings (used when DATABASE_ENGINE=postgresql)
DB_NAME=krill
DB_USER=krill_user
DB_PASSWORD=your_password_here
DB_HOST=localhost
DB_PORT=5432
DB_SSLMODE=prefer
# Statement timeout in milliseconds for all queries (default 30000 = 30 seconds)
# DB_STATEMENT_TIMEOUT_MS=30000
# Redis Cache (optional, for production)
REDIS_URL=redis://127.0.0.1:6379/1
# Email Settings (for production)
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
EMAIL_HOST_USER=your_email@gmail.com
EMAIL_HOST_PASSWORD=your_app_password
DEFAULT_FROM_EMAIL=noreply@yourdomain.com
# Security Settings (for production)
SECURE_SSL_REDIRECT=False
SESSION_COOKIE_SECURE=False
CSRF_COOKIE_SECURE=False
# Sentry Error Tracking
# Get your DSN from https://sentry.io/settings/[org]/projects/[project]/keys/
SENTRY_DSN=your-sentry-dsn-here
SENTRY_ENVIRONMENT=development