-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathspin.toml
44 lines (35 loc) · 1.46 KB
/
spin.toml
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
33
34
35
36
37
38
39
40
41
42
43
44
spin_manifest_version = 2
[application]
name = "spin-checklist"
version = "0.1.0"
description = "A checklist that persists status with KV"
authors = ["macolso <[email protected]>"]
[application.trigger.http]
base = "/"
[[trigger.http]]
id = "trigger-learning-checklist"
component = "learning-checklist"
route = "/api/..."
[[trigger.http]]
id = "trigger-kv-explorer"
component = "kv-explorer"
route = "/internal/kv-explorer/..."
[[trigger.http]]
id = "trigger-static-fileserver"
component = "static-fileserver"
route = "/..."
[component.learning-checklist]
source = "target/learning-checklist.wasm"
exclude_files = ["**/node_modules"]
allowed_outbound_hosts = ["redis://*:*", "mysql://*:*", "postgres://*:*"]
key_value_stores = ["default"]
[component.learning-checklist.build]
command = "npm run build"
[component.kv-explorer]
source = { url = "https://github.com/radu-matei/spin-kv-explorer/releases/download/v0.9.0/spin-kv-explorer.wasm", digest = "sha256:07f5f0b8514c14ae5830af0f21674fd28befee33cd7ca58bc0a68103829f2f9c" }
allowed_outbound_hosts = ["redis://*:*", "mysql://*:*", "postgres://*:*"]
key_value_stores = ["default"]
[component.static-fileserver]
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.0.3/spin_static_fs.wasm", digest = "sha256:38bf971900228222f7f6b2ccee5051f399adca58d71692cdfdea98997965fd0d" }
files = [{ source = "assets", destination = "/" }]
allowed_outbound_hosts = ["redis://*:*", "mysql://*:*", "postgres://*:*"]