Initial commit
This commit is contained in:
65
wrangler.toml
Normal file
65
wrangler.toml
Normal file
@@ -0,0 +1,65 @@
|
||||
# Base configuration (shared between environments)
|
||||
main = "src/index.ts"
|
||||
account_id = "cba4afd7666247724ece1f34e1aace6c"
|
||||
compatibility_date = "2025-03-10"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[vars]
|
||||
name = 'cf-template-local'
|
||||
CM_BASE_URL = "https://cm.dev.svchub.com"
|
||||
DECRYPT_API_URL = "https://www.dev.humanizeiq.ai/api/dashboard-backend"
|
||||
DECRYPT_API_KEY = "XMCKhjOTTPJJzoSiNTmRTcQauvtGKRnUZNFlhWpjhTEaIdIeIdLFM"
|
||||
d1_databases= [
|
||||
{ binding = "CF_TEMPLATE_DB", database_name = "cf-template_test-db", database_id = "c020574a-5623-407b-be0c-cd192bab9545" }
|
||||
]
|
||||
|
||||
# Playtest Environment
|
||||
[env.playtest]
|
||||
name = "cf-template-playtest"
|
||||
routes = [
|
||||
{ pattern = "cf-template.playtest.svchub.com", custom_domain = true }
|
||||
]
|
||||
d1_databases = [
|
||||
{ binding = "CF_TEMPLATE_DB", database_name = "cf-template_playtest", database_id = "fd847b4b-e1e9-442e-9756-23c4540476e7" }
|
||||
]
|
||||
r2_buckets = [
|
||||
{ binding = "CF_TEMPLATE_BUCKET", bucket_name = "cf-template-playtest" }
|
||||
]
|
||||
[env.playtest.vars]
|
||||
WORKER_ENV = "playtest"
|
||||
CM_BASE_URL = "https://cm.dev.svchub.com"
|
||||
DECRYPT_API_URL = "https://www.dev.humanizeiq.ai/api/dashboard-backend"
|
||||
|
||||
# Dev Environment
|
||||
[env.development]
|
||||
name = "cf-template-dev"
|
||||
routes = [
|
||||
{ pattern = "cf-template.dev.svchub.com", custom_domain = true }
|
||||
]
|
||||
d1_databases = [
|
||||
{ binding = "CF_TEMPLATE_DB", database_name = "cf-template_dev", database_id = "08a710a9-27ae-4886-9cab-c0a7ab204de9" }
|
||||
]
|
||||
r2_buckets = [
|
||||
{ binding = "CF_TEMPLATE_BUCKET", bucket_name = "cf-template-dev" }
|
||||
]
|
||||
[env.development.vars]
|
||||
WORKER_ENV = "development"
|
||||
CM_BASE_URL = "https://cm.dev.svchub.com"
|
||||
DECRYPT_API_URL = "https://www.dev.humanizeiq.ai/api/dashboard-backend"
|
||||
|
||||
# Production Environment
|
||||
[env.production]
|
||||
name = "cf-template-prod"
|
||||
routes = [
|
||||
{ pattern = "cf-template.prod.svchub.com", custom_domain = true }
|
||||
]
|
||||
d1_databases = [
|
||||
{ binding = "CF_TEMPLATE_DB", database_name = "cf-template_prod", database_id = "2983ec1a-3c9c-451d-b85e-5a52ff9b114a" }
|
||||
]
|
||||
r2_buckets = [
|
||||
{ binding = "CF_TEMPLATE_BUCKET", bucket_name = "cf-template-prod" }
|
||||
]
|
||||
[env.production.vars]
|
||||
WORKER_ENV = "production"
|
||||
CM_BASE_URL = "https://cm.svchub.com"
|
||||
DECRYPT_API_URL = "https://www.humanizeiq.ai/api/dashboard-backend"
|
||||
Reference in New Issue
Block a user