-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathenv.example
More file actions
29 lines (25 loc) · 1.19 KB
/
env.example
File metadata and controls
29 lines (25 loc) · 1.19 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
# ------------------------------------------------------------------
# Environment Variables for Local Development
# ------------------------------------------------------------------
# Save or copy this file as `.dev.vars` to use these variables locally.
# `wrangler dev` automatically reads `.dev.vars` for secrets and variables.
#
# Note: D1 Database connections (like database_id) are configured
# in `wrangler.toml`. To test locally while connecting to your remote
# Cloudflare D1 database and other cloud resources, run:
# npm run dev:backend:remote
# (which executes `wrangler dev --remote`)
# ------------------------------------------------------------------
# [Required Secrets]
# The password used to log into the admin dashboard
ADMIN_PASSWORD="your_secure_admin_password_here"
# A secure random string used for signing JWT tokens
# You can generate one via: openssl rand -hex 32
JWT_TOKEN="your_secure_jwt_secret_token_here"
# [Optional Secrets]
# Resend API Key for sending outbound emails (if you use this feature)
RESEND_API_KEY="re_123456789"
# [Variables]
# You can also override variables defined in wrangler.toml here for local testing
MAIL_DOMAIN="example.com"
ADMIN_NAME="admin"