-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
23 lines (20 loc) · 951 Bytes
/
wrangler.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name = "release-worker"
main = "src/index.ts"
compatibility_date = "2024-09-23"
compatibility_flags = ["nodejs_compat"]
# Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
# Note: Use secrets to store sensitive data.
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
[vars]
R2_PUBLIC_URL="https://builds.zigtools.org"
# Bind a D1 database. D1 is Cloudflare’s native serverless SQL database.
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#d1-databases
[[d1_databases]]
binding = "ZIGTOOLS_DB"
database_name = "production-db-backend"
database_id = "86dcfef4-8abd-4ff6-97a8-04c231ea2e6c"
# Bind an R2 Bucket. Use R2 to store arbitrarily large blobs of data, such as files.
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#r2-buckets
[[r2_buckets]]
binding = "ZIGTOOLS_BUILDS"
bucket_name = "zigtools-builds"