-
Notifications
You must be signed in to change notification settings - Fork 4
/
wrangler.toml
49 lines (36 loc) · 1.17 KB
/
wrangler.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
45
46
47
48
name = "horseman"
compatibility_date = "2022-03-30"
account_id = "2dcc5a4f486a50625b4167e90d113158"
workers_dev = false
#
kv_namespaces = [
{ binding = "INDEXKV", id = "cb0bc6abf6f44cdab5fd417cd62232e3", preview_id = "cb0bc6abf6f44cdab5fd417cd62232e3" },
{ binding = "CONTENTKV", id = "a5b404d4836e4594894fc6ab15902568", preview_id = "a5b404d4836e4594894fc6ab15902568" },
]
services = [
{ binding = "PASSWORD_HASHING", service = "password-hashing", environment = "production" }
]
experimental_services = [
{ name = "PASSWORD_HASHING", service = "password-hashing", environment = "production" }
]
[miniflare.mounts]
password-hashing = "../password-hashing-worker"
[vars]
HORSEMAN_VERSION = "1.0.0"
ALLOW_SIGNUPS = true # Set to false to disable signups.
# EVERYTHING BELOW THIS LINE SHOULDNT NEED TO BE CHANGED.
# ------------------------------------------------------
[durable_objects]
bindings = [
{ name = "IndexWriter", class_name = "WriterDO" }
]
[[migrations]]
tag = "v1" # Should be unique for each entry
new_classes = ["WriterDO"]
[miniflare]
kv_persist = true # Defaults to ./.mf/kv
[build]
command = "npm run build"
[build.upload]
format = "modules"
main='index.js'