-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
93 lines (74 loc) · 2.1 KB
/
Copy path.env.example
File metadata and controls
93 lines (74 loc) · 2.1 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# ===========================================
# RV Trax — Environment Configuration
# ===========================================
# Copy this file to .env and fill in values
# NEVER commit .env to version control
# ---- Database ----
DATABASE_URL=postgresql://rvtrax:rvtrax_dev@localhost:5432/rvtrax
DATABASE_SSL=false
# ---- Redis ----
REDIS_URL=redis://localhost:6379
# ---- JWT ----
JWT_SECRET=change-this-to-a-random-64-char-string
JWT_ACCESS_EXPIRY=15m
JWT_REFRESH_EXPIRY=7d
# ---- API Server ----
API_HOST=0.0.0.0
API_PORT=3000
API_LOG_LEVEL=info
CORS_ORIGINS=http://localhost:3001,http://localhost:8081
# ---- MQTT (ChirpStack) ----
MQTT_BROKER_URL=mqtt://localhost:1883
MQTT_USERNAME=
MQTT_PASSWORD=
# ---- ChirpStack ----
CHIRPSTACK_API_URL=http://localhost:8080
CHIRPSTACK_API_KEY=
# ---- File Storage (Cloudflare R2) ----
R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_BUCKET_NAME=rv-trax
R2_PUBLIC_URL=
# ---- Email (AWS SES) ----
SES_REGION=us-east-1
SES_FROM_EMAIL=noreply@rvtrax.com
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
# ---- SMS (Twilio) ----
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_FROM_NUMBER=
# ---- Push Notifications (FCM) ----
FCM_PROJECT_ID=
FCM_PRIVATE_KEY=
FCM_CLIENT_EMAIL=
# ---- Stripe ----
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
STRIPE_PRICE_STARTER=
STRIPE_PRICE_PROFESSIONAL=
STRIPE_PRICE_ENTERPRISE=
# ---- Web Dashboard ----
NEXT_PUBLIC_API_URL=http://localhost:3000/api/v1
NEXT_PUBLIC_WS_URL=ws://localhost:3000/ws
NEXT_PUBLIC_MAPBOX_TOKEN=
# ---- Cookie Signing ----
COOKIE_SECRET=change-this-to-a-random-string
# ---- Sentry (error tracking) ----
SENTRY_DSN=
NEXT_PUBLIC_SENTRY_DSN=
# ---- Email Provider ----
# Set to "resend" to use Resend instead of AWS SES
# EMAIL_PROVIDER=resend
# RESEND_API_KEY=re_...
# RESEND_FROM_ADDRESS=RV Trax <alerts@notifications.rvtrax.com>
# ---- PostHog (product analytics) ----
# NEXT_PUBLIC_POSTHOG_KEY=phc_...
# NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
# ---- Admin ----
ADMIN_API_TOKEN=
# ---- Seed (optional — only used by pnpm db:seed) ----
# SEED_PASSWORD=Password1!
# ---- Environment ----
NODE_ENV=development