-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
34 lines (28 loc) · 1.02 KB
/
.env.example
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
# Server Configuration
PORT=8080
# DEV PROD OR TEST
NODE_ENV="DEV"
# JWT Configuration
JWT_SECRET="your_jwt_secret_here"
JWT_REFRESH="your_jwt_refresh_secret_here"
SALT_ROUNDS=10
# OpenAI Configuration
OPENAI_BASE_URI="http://localhost:3001"
# S3/Cloudflare R2 Configuration (Optional)
# If not provided, local file storage will be used
S3_ACCESS_KEY_ID="your_s3_access_key_id" # Must be 32 characters for Cloudflare R2
S3_SECRET_ACCESS_KEY="your_s3_secret_access_key"
S3_REGION="auto" # Use 'auto' for Cloudflare R2
S3_BUCKET_NAME="your_bucket_name"
S3_ENDPOINT="https://<account_id>.r2.cloudflarestorage.com" # Cloudflare R2 endpoint
S3_ACCOUNT_ID="your_cloudflare_account_id" # Your Cloudflare account ID
S3_PUBLIC_URL="https://pub-xxx.r2.dev" # Your R2 public bucket URL
# mail
# Set to false to disable all email functionality
MAIL_ENABLED=false
MAIL_HOST=smtp.example.com
MAIL_USER=user@example.com
MAIL_PASSWORD=topsecret
MAIL_FROM=noreply@example.com
MAIL_PORT=587
MAIL_DOMAIN=your_net