-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (45 loc) · 1.91 KB
/
Copy path.env.example
File metadata and controls
54 lines (45 loc) · 1.91 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
# =============================================================
# Intercom — Environment Configuration
# Copy this file to .env and fill in your values.
# =============================================================
# ---- AWS Credentials (for Cognito operations) ----
aws_access_key_id=YOUR_AWS_ACCESS_KEY_ID
aws_secret_access_key=YOUR_AWS_SECRET_ACCESS_KEY
# ---- AWS Cognito ----
COGNITO_DOMAIN=your-cognito-domain
COGNITO_REGION=eu-west-1
COGNITO_USER_POOL_ID=eu-west-1_XXXXXXXXX
COGNITO_APP_CLIENT_ID=your-app-client-id
COGNITO_APP_CLIENT_SECRET=your-app-client-secret
# ---- Django ----
DJANGO_SECRET_KEY=your-django-secret-key-change-me
DJANGO_DEBUG=false
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,yourdomain.com,backend
DJANGO_CSRF_TRUSTED_ORIGINS=https://yourdomain.com,http://localhost:8080,http://localhost:8000
# ---- Django Superuser (auto-created on first run) ----
DJANGO_SUPERUSER_EMAIL=admin@yourdomain.com
DJANGO_SUPERUSER_PASSWORD=ChangeMe123!
# Must meet Cognito policy: uppercase + lowercase + number + symbol
# ---- PostgreSQL ----
POSTGRES_HOST=postgres_db
POSTGRES_DB=splintercom
POSTGRES_USER=splintercom
POSTGRES_PASSWORD=your-secure-db-password
# ---- URLs ----
SITE_URL=https://yourdomain.com
FRONTEND_URL=https://yourdomain.com
# ---- Local Dev (optional) ----
DJANGO_LOCAL_DEV_USER=dev@yourdomain.com
# ---- Stripe (test mode during development; live keys before the first real user) ----
STRIPE_SECRET_KEY=sk_test_...
STRIPE_PUBLISHABLE_KEY=pk_test_...
# From `stripe listen --forward-to localhost:8000/api/v1/billing/webhook/` for local dev,
# or the endpoint's signing secret in the Stripe Dashboard for deployed environments.
STRIPE_WEBHOOK_SECRET=whsec_...
# The recurring Price for the single paid tier.
STRIPE_PRICE_ID=price_...
# 100%-off-forever coupon, applied to comped users (invites with grants_comp_subscription).
STRIPE_COMP_COUPON_ID=
STRIPE_TRIAL_DAYS=14
# ---- Limits ----
MAX_DEVICES_PER_ACCOUNT=5