-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.production.example
More file actions
45 lines (37 loc) · 1.55 KB
/
Copy path.env.production.example
File metadata and controls
45 lines (37 loc) · 1.55 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
# =============================================================================
# TrueRisk Production Environment — truerisk.cloud
# Copy to .env.production and fill in all values
# =============================================================================
# --- Database ---
POSTGRES_DB=truerisk
POSTGRES_USER=truerisk
POSTGRES_PASSWORD=<generate: openssl rand -hex 16>
# --- Auth / JWT ---
JWT_SECRET=<generate: openssl rand -hex 32>
NEXTAUTH_SECRET=<generate: openssl rand -hex 32>
NEXTAUTH_URL=https://truerisk.cloud
# --- Security ---
FIELD_ENCRYPTION_KEY=<generate: openssl rand -hex 32>
# --- Observability ---
SENTRY_DSN=https://21c27c6c2c3a2a9e21ddf934dae0ca47@o4511134143283200.ingest.de.sentry.io/4511134144725072
NEXT_PUBLIC_SENTRY_DSN=https://66f4bfa49b77edb8591a319bbb8192af@o4511134143283200.ingest.de.sentry.io/4511135735414864
NEXT_PUBLIC_SENTRY_ENVIRONMENT=production
SENTRY_ORG=truerisk
SENTRY_PROJECT=truerisk-frontend
SENTRY_AUTH_TOKEN=<from https://sentry.io/settings/auth-tokens/>
# --- API Keys ---
AEMET_API_KEY=<from https://opendata.aemet.es>
OPENAI_API_KEY=<from https://platform.openai.com>
FIRMS_MAP_KEY=<from https://firms.modaps.eosdis.nasa.gov>
CDSAPI_KEY=<from https://ads.atmosphere.copernicus.eu>
OPENAQ_API_KEY=<from https://openaq.org>
# --- Web Push (generate with: npx web-push generate-vapid-keys) ---
VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
# --- Resend Email (optional) ---
RESEND_API_KEY=<from https://resend.com>
# --- Twilio SMS (optional) ---
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_MESSAGING_SERVICE_SID=
TWILIO_FROM_PHONE=