example wrangler.toml

This commit is contained in:
Alex 2023-04-03 02:49:00 -04:00
parent 7d86409ff8
commit 44dbf2fd1c
Signed by: technically
GPG Key ID: 80102E9A33C517E2
1 changed files with 19 additions and 0 deletions

19
wrangler.example.toml Normal file
View File

@ -0,0 +1,19 @@
name = "gonk-configs"
workers_dev = true
main = "build/worker/shim.mjs"
compatibility_date = "2022-01-20"
kv_namespaces = [
{ binding = "GONK_NODES", preview_id = "979f4551ad6c49c9bf76b8888b6e1b7f", id = "84cb6f9141144688ac829a0531b2eefb" }
]
[vars]
WORKERS_RS_VERSION = "0.0.9"
ACCESS_SECRET = "(CF Access secret to reach hashicorp vault)"
ACCESS_ID = "(CF Access ID to reach hashicorp vault).access"
VAULT_SECRET = "(Vault AppRole secret to reach secret vault)"
VAULT_ID = "(Vault AppRole ID to reach secret vault)"
[build]
command = "cargo install -q worker-build && worker-build --release"