name = "mod-cms-onboarding"
compatibility_date = "2024-09-23"
compatibility_flags = ["nodejs_compat"]
main = "@astrojs/cloudflare/entrypoints/server"

[assets]
directory = "./dist"
binding = "ASSETS"

[[d1_databases]]
binding = "DB"
database_name = "mod-cms-onboarding-d1"
database_id = "2b05d6c8-ba43-4909-94ae-164af2343d0a"

[[kv_namespaces]]
binding = "SESSION"
id = "187c5e61afe64161b47867988ac60fa7"

[[ratelimits]]
name = "ADMIN_LOGIN_LIMITER"
namespace_id = "2001"
  [ratelimits.simple]
  limit = 10
  period = 60

[[ratelimits]]
name = "ADMIN_API_LIMITER"
namespace_id = "2002"
  [ratelimits.simple]
  limit = 120
  period = 60

[[ratelimits]]
name = "COMMENTS_LIMITER"
namespace_id = "2003"
  [ratelimits.simple]
  limit = 5
  period = 60

[[ratelimits]]
name = "FORMS_LIMITER"
namespace_id = "2004"
  [ratelimits.simple]
  limit = 5
  period = 60

[[r2_buckets]]
binding = "MEDIA_BUCKET"
bucket_name = "mod-cms-onboarding-media"

[vars]
MEDIA_PUBLIC_BASE_URL = "https://mod-cms-onboarding.dry-salad-ffa1.workers.dev/media"
MEDIA_MAX_BYTES = "10485760"
MEDIA_QUOTA_BYTES = "1073741824"
SITE_ORIGIN = "https://mod-cms-onboarding.dry-salad-ffa1.workers.dev"
