-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.dev.toml
More file actions
29 lines (23 loc) · 852 Bytes
/
wrangler.dev.toml
File metadata and controls
29 lines (23 loc) · 852 Bytes
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
# DO Manager - Local Development Configuration
# Use this file for local development: npx wrangler dev --config wrangler.dev.toml --local
name = "do-manager-dev"
main = "worker/index.ts"
compatibility_date = "2025-01-01"
compatibility_flags = ["nodejs_compat"]
# Development D1 database (local)
[[d1_databases]]
binding = "METADATA"
database_name = "do-manager-metadata-dev"
database_id = "local-dev-db"
# Development R2 bucket (local)
[[r2_buckets]]
binding = "BACKUP_BUCKET"
bucket_name = "do-manager-backups-dev"
# Development variables - auth bypassed for localhost
[vars]
ENVIRONMENT = "development"
# Note: In local development:
# - Authentication is bypassed (checked via localhost detection)
# - Mock data is used when ACCOUNT_ID and API_KEY are not set
# - Frontend runs on http://localhost:5173
# - Worker runs on http://localhost:8787