-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathspin.toml
More file actions
33 lines (27 loc) · 882 Bytes
/
spin.toml
File metadata and controls
33 lines (27 loc) · 882 Bytes
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
spin_manifest_version = 2
[application]
authors = ["Thorsten Hans <thorsten.hans@fermyon.com>"]
description = ""
name = "supabase-proxy"
version = "0.1.0"
[variables]
supabase_url = { required = true }
supabase_key = { required = true, secret = true }
supabase_webhook_token = { required = true, secret = true }
cache_ttl = { default = "5" }
[[trigger.http]]
route = "/..."
component = "supabase-proxy"
[component.supabase-proxy]
source = "dist/supabase-proxy.wasm"
exclude_files = ["**/node_modules"]
allowed_outbound_hosts = ["{{ supabase_url }}"]
key_value_stores = ["default"]
[component.supabase-proxy.variables]
supabase_url = "{{ supabase_url }}"
supabase_key = "{{ supabase_key }}"
supabase_webhook_token = "{{ supabase_webhook_token }}"
cache_ttl = "{{ cache_ttl }}"
[component.supabase-proxy.build]
command = ["npm install", "npm run build"]
watch = ["src/**/*.ts"]