-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.env.example
More file actions
36 lines (31 loc) · 1.34 KB
/
Copy path.env.example
File metadata and controls
36 lines (31 loc) · 1.34 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
# Cloudflare R2 Bucket Manager - Environment Configuration
# Copy this file to .env and fill in your values
# ============================================
# CLOUDFLARE CREDENTIALS
# ============================================
ACCOUNT_ID=your_account_id
CF_EMAIL=your_email
API_KEY=your_api_key
# ============================================
# CLOUDFLARE ACCESS (ZERO TRUST)
# ============================================
# Required for production deployments
TEAM_DOMAIN=your_team_domain
POLICY_AUD=your_policy_audience_tag
# ============================================
# WORKER API ENDPOINT
# ============================================
# Development: Point to local worker
VITE_WORKER_API=http://localhost:8787
# Production: Leave empty or comment out to use deployed domain automatically
# The application will use window.location.origin if not set
# VITE_WORKER_API=https://your-worker.your-domain.com
# VITE_WORKER_API=https://your-worker.workers.dev
# ============================================
# NOTES
# ============================================
# - For local development with wrangler dev, use http://localhost:8787
# - For production deployment, either:
# 1. Leave VITE_WORKER_API unset (recommended - uses same domain as frontend)
# 2. Set to your custom domain if worker is on a different domain
# - The .env file is gitignored for security