-
Notifications
You must be signed in to change notification settings - Fork 5
/
spin.toml.v1_backup
32 lines (29 loc) · 1.17 KB
/
spin.toml.v1_backup
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
spin_manifest_version = "1"
authors = ["macolso <[email protected]>"]
description = "A checklist that persists status with KV"
name = "spin-checklist"
trigger = { type = "http", base = "/" }
version = "0.1.0"
[[component]]
id = "learning-checklist"
source = "target/learning-checklist.wasm"
exclude_files = ["**/node_modules"]
# Gives this component access to the default key value store
key_value_stores = ["default"]
[component.trigger]
route = "/api/..."
[component.build]
command = "npm run build"
[[component]]
source = { url = "https://github.com/radu-matei/spin-kv-explorer/releases/download/v0.9.0/spin-kv-explorer.wasm", digest = "sha256:07f5f0b8514c14ae5830af0f21674fd28befee33cd7ca58bc0a68103829f2f9c" }
id = "kv-explorer"
# add or remove stores you want to explore here
key_value_stores = ["default"]
[component.trigger]
route = "/internal/kv-explorer/..."
[[component]]
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.0.3/spin_static_fs.wasm", digest = "sha256:38bf971900228222f7f6b2ccee5051f399adca58d71692cdfdea98997965fd0d" }
id = "static-fileserver"
files = [ { source = "assets", destination = "/" } ]
[component.trigger]
route = "/..."