mirror of
https://github.com/Mail-0/Zero.git
synced 2026-07-01 08:16:28 +00:00
86 lines
2.2 KiB
JSON
86 lines
2.2 KiB
JSON
{
|
|
"$schema": "../../node_modules/wrangler/config-schema.json",
|
|
"name": "zero-server",
|
|
"compatibility_date": "2025-05-01",
|
|
"compatibility_flags": ["nodejs_compat"],
|
|
"main": "src/main.ts",
|
|
"env": {
|
|
"staging": {
|
|
"observability": {
|
|
"enabled": true,
|
|
},
|
|
"hyperdrive": [
|
|
{
|
|
"binding": "HYPERDRIVE",
|
|
"id": "57834ddb6716440496c8836f6d99bc9a",
|
|
"localConnectionString": "postgresql://postgres:postgres@localhost:5432/zerodotemail",
|
|
},
|
|
],
|
|
"vars": {
|
|
"DEFAULT_BRAIN_LIMIT": "500",
|
|
"NODE_ENV": "development",
|
|
"FORCE_GMAIL_CONSENT": "true",
|
|
"NEXT_PUBLIC_BACKEND_URL": "https://sapi.0.email",
|
|
"NEXT_PUBLIC_APP_URL": "https://staging.0.email",
|
|
"COOKIE_DOMAIN": "0.email",
|
|
},
|
|
"kv_namespaces": [
|
|
{
|
|
"binding": "subscribed_accounts",
|
|
"id": "cd3ff4a80734444c98aee76ea9166e3d",
|
|
},
|
|
{
|
|
"binding": "connection_labels",
|
|
"id": "26c5a521b1294ef88d36b96e5617c428",
|
|
},
|
|
{
|
|
"binding": "prompts_storage",
|
|
"id": "1caf4e863e2149519cef97f2ba3c9851",
|
|
},
|
|
{
|
|
"binding": "connection_limits",
|
|
"id": "19d415777f554b7c8fbe6eca7dc87918",
|
|
},
|
|
],
|
|
},
|
|
"production": {
|
|
"observability": {
|
|
"enabled": true,
|
|
},
|
|
"hyperdrive": [
|
|
{
|
|
"binding": "HYPERDRIVE",
|
|
"id": "",
|
|
"localConnectionString": "postgresql://postgres:postgres@localhost:5432/zerodotemail",
|
|
},
|
|
],
|
|
"vars": {
|
|
"DEFAULT_BRAIN_LIMIT": "500",
|
|
"NODE_ENV": "production",
|
|
"FORCE_GMAIL_CONSENT": "true",
|
|
"NEXT_PUBLIC_BACKEND_URL": "https://api.0.email",
|
|
"NEXT_PUBLIC_APP_URL": "https://0.email",
|
|
"COOKIE_DOMAIN": "0.email",
|
|
},
|
|
"kv_namespaces": [
|
|
{
|
|
"binding": "subscribed_accounts",
|
|
"id": "",
|
|
},
|
|
{
|
|
"binding": "connection_labels",
|
|
"id": "",
|
|
},
|
|
{
|
|
"binding": "prompts_storage",
|
|
"id": "",
|
|
},
|
|
{
|
|
"binding": "connection_limits",
|
|
"id": "",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
}
|