-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.local.example.json
More file actions
68 lines (68 loc) · 1.55 KB
/
deploy.local.example.json
File metadata and controls
68 lines (68 loc) · 1.55 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"projectName": "moemail",
"accountId": "your-cloudflare-account-id",
"zone": "example.com",
"pages": {
"customDomain": "mail.example.com",
"productionBranch": "main",
"compatibilityDate": "2024-03-20",
"compatibilityFlags": ["nodejs_compat"],
"d1Databases": {
"DB": {
"id": "your-d1-database-id"
}
},
"kvNamespaces": {
"SITE_CONFIG": {
"namespace_id": "your-kv-namespace-id"
}
}
},
"workers": {
"deployEmail": true,
"deployCleanup": true,
"email": {
"name": "moemail-email-receiver",
"script": "workers/email-receiver-worker.js",
"metadata": "workers/email-receiver-worker.metadata.json",
"bindings": [
{
"type": "d1",
"name": "DB",
"id": "your-d1-database-id"
}
]
},
"cleanup": {
"name": "moemail-cleanup",
"script": "workers/cleanup-worker.js",
"metadata": "workers/cleanup-worker.metadata.json",
"cron": "0 * * * *",
"bindings": [
{
"type": "d1",
"name": "DB",
"id": "your-d1-database-id"
}
]
}
},
"artifacts": {
"source": "local",
"basePath": ".deploy/artifacts/moemail-current",
"pages": "pages.zip",
"manifest": "manifest.json"
},
"secrets": {
"AUTH_TRUST_HOST": "true",
"AUTH_URL": "https://mail.example.com",
"NEXT_PUBLIC_BASE_URL": "https://mail.example.com"
},
"dns": {
"proxied": true,
"ttl": 1
},
"verify": {
"paths": ["/", "/api/auth/session"]
}
}