-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (40 loc) · 1.29 KB
/
.env.example
File metadata and controls
50 lines (40 loc) · 1.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
# Production deployment configuration for milk2meat app
# Copy this file to .env and fill in your actual values
# Django settings
DEBUG=False
ALLOWED_HOSTS=example.org
DJANGO_SECRET_KEY=secret
# Email Settings
BREVO_API_KEY=your_brevo_api_key
DEFAULT_FROM_EMAIL="Milk2Meat App <no-reply@example.org>"
EMAIL_RECIPIENTS="John Doe <someone@example.com>"
# Sentry settings
SENTRY_DSN=https://foo.ingest.de.sentry.io/bar
DJANGO_SENTRY_LOG_LEVEL=20
SENTRY_ENVIRONMENT=production
SENTRY_TRACES_SAMPLE_RATE=0.5
# Storage settings
AWS_ACCESS_KEY_ID=your-s3-access-key
AWS_SECRET_ACCESS_KEY=your-s3-secret-key
AWS_STORAGE_BUCKET_NAME=some-bucket
AWS_S3_ENDPOINT_URL=https://foo.somewhere.com
# Cloudflare Turnstile
TURNSTILE_SITE_KEY=your_site_key
TURNSTILE_SECRET_KEY=your_secret_key
# Domain name
DOMAIN_NAME=milk2meat.example.com
# Database Settings
POSTGRES_USER=milk2meat
POSTGRES_PASSWORD=generate_strong_password
POSTGRES_DB=milk2meat
# Redis Settings
REDIS_PASSWORD=generate_strong_password
# Backup Settings
B2_APPLICATION_KEY_ID=your_b2_application_key_id
B2_APPLICATION_KEY=your_b2_application_key
B2_ENDPOINT=s3.us-west-000.backblazeb2.com
B2_BUCKET_NAME=your-backup-bucket-name
B2_REGION=us-west-002
# Notification Settings
# For ntfy.sh (example)
NOTIFICATION_URL=ntfy://username:password@ntfy.sh/topic