forked from TheMarketingCompany/TMC-File-Transfer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (36 loc) · 1.53 KB
/
.env.example
File metadata and controls
43 lines (36 loc) · 1.53 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
# Environment Configuration for TMC File Transfer
# Copy this file to .env and fill in your values:
# cp .env.example .env
#
# IMPORTANT: Never commit .env to version control!
# ============================================
# Cloudflare WAF Deployment (Required for WAF)
# ============================================
# Your Cloudflare API Token
# Create at: Cloudflare Dashboard → My Profile → API Tokens → Create Token
# Required permissions:
# - Zone > Zone WAF > Edit
# - Zone > Zone Rulesets > Edit
# Zone Resources: Include → Specific zone → Your domain
CF_WAF_API_TOKEN=your_api_token_here
# Your Cloudflare Zone ID
# Get from: Cloudflare Dashboard → Your Domain → Overview (right sidebar)
CF_WAF_ZONE_ID=your_zone_id_here
# ============================================
# Company Information (Frontend Display)
# ============================================
# These variables are used in the footer and legal pages
VITE_COMPANY_NAME=Your Company Name
VITE_COMPANY_ADDRESS_LINE1=Street Address
VITE_COMPANY_ADDRESS_LINE2=City, ZIP Code
VITE_COMPANY_PHONE=+1 234 567 890
VITE_IMPRINT_URL=https://your-domain.com/imprint
VITE_PRIVACY_URL=https://your-domain.com/privacy
# ============================================
# Cleanup Worker (Required for deployment)
# ============================================
# Secret token for cleanup worker authentication
# Used by deploy script and for manual trigger via HTTP
# Must match the CLEANUP_SECRET in wrangler.toml
# Generate with: openssl rand -hex 32
CLEANUP_SECRET=your_cleanup_secret_here