-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
63 lines (58 loc) · 2.44 KB
/
Copy path.env.example
File metadata and controls
63 lines (58 loc) · 2.44 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
AWS_REGION=us-east-1
PUBLIC_BASE_URL=http://localhost:3000
DEFAULT_FROM_EMAIL=newsletter@example.com
DATABASE_URL=sqlite:///db.sqlite3
DEBUG=True
SECRET_KEY=
ALLOWED_HOSTS=localhost,127.0.0.1
CSRF_TRUSTED_ORIGINS=
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
AWS_SES_CONFIGURATION_SET=
AWS_ENDPOINT_URL=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
SQS_TRANSACTIONAL_EMAIL_QUEUE_URL=
SQS_CAMPAIGN_EMAIL_QUEUE_URL=
SQS_EMAIL_EVENTS_QUEUE_URL=
SQS_SES_WEBHOOKS_QUEUE_URL=
TRANSACTIONAL_EMAIL_QUEUE_NAME=transactional-email
CAMPAIGN_EMAIL_QUEUE_NAME=campaign-email
SES_WEBHOOKS_QUEUE_NAME=ses-webhooks
EMAIL_EVENTS_QUEUE_NAME=email-events
# Mock inbox (test-only): capture transactional emails to test addresses instead
# of delivering them, and expose them via /api/mock-inbox/messages for e2e tests.
# Defaults on when DEBUG/TESTING; set explicitly on shared deployments.
MOCK_INBOX_ENABLED=
MOCK_INBOX_DOMAIN=mailbox.test
MOCK_INBOX_PLUS_TAG=e2e
# Real inbox (option B): unlike the mock inbox, addresses on REAL_INBOX_DOMAIN take
# the REAL SES send path and are received back from the inbound S3 bucket that the
# SES receipt rule writes to. This proves an email was actually sent and received.
# Read API: GET/DELETE /api/inbox/messages?address=... (gated by REAL_INBOX_ENABLED).
# Sending is always real for REAL_INBOX_DOMAIN, independent of REAL_INBOX_ENABLED.
REAL_INBOX_ENABLED=
REAL_INBOX_DOMAIN=mailer.dtcdev.click
REAL_INBOX_S3_BUCKET=
REAL_INBOX_S3_PREFIX=raw/
REAL_INBOX_MAX_SCAN_OBJECTS=200
# --- Deployed hosts only ---------------------------------------------------
# deploy/docker-compose.yml reads this same .env, both for the containers'
# environment and for the ${...} interpolation below. Leave this block empty
# for local development; SITE_ADDRESS and POSTGRES_PASSWORD are the two that
# compose refuses to start without.
# Hostname Caddy requests a Let's Encrypt certificate for.
SITE_ADDRESS=
# Consumed by the db service and by DATABASE_URL, which points at it, e.g.
# postgresql://relay:<password>@db:5432/relay
POSTGRES_DB=relay
POSTGRES_USER=relay
POSTGRES_PASSWORD=
# Bearer token for the taskdeck status contract at /internal/ops/status.
TASKDECK_STATUS_TOKEN=
# Inbound mail. The drains that read these run under the `ingress` compose
# profile and stay stopped until the queue URLs are set.
SQS_INBOUND_EMAIL_QUEUE_URL=
INBOUND_EMAIL_EVENTS_TOPIC_ARN=
INBOUND_EMAIL_IDEMPOTENCY_TABLE=
INBOUND_EMAIL_ARTIFACT_PREFIX=processed/
INBOUND_EMAIL_ROUTES=