From 44dbf2fd1c1cbf1dc3b16344783dedc1d412b828 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 3 Apr 2023 02:49:00 -0400 Subject: [PATCH] example wrangler.toml --- wrangler.example.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 wrangler.example.toml diff --git a/wrangler.example.toml b/wrangler.example.toml new file mode 100644 index 0000000..5a9d70c --- /dev/null +++ b/wrangler.example.toml @@ -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" +