wrangler.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. name = "ezbuy-image-processing"
  2. main = "src/worker.js"
  3. compatibility_date = "2023-08-21"
  4. node_compat = true
  5. # Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
  6. # Note: Use secrets to store sensitive data.
  7. # Docs: https://developers.cloudflare.com/workers/platform/environment-variables
  8. # [vars]
  9. # MY_VARIABLE = "production_value"
  10. # Bind a KV Namespace. Use KV as persistent storage for small key-value pairs.
  11. # Docs: https://developers.cloudflare.com/workers/runtime-apis/kv
  12. # [[kv_namespaces]]
  13. # binding = "MY_KV_NAMESPACE"
  14. # id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  15. # Bind an R2 Bucket. Use R2 to store arbitrarily large blobs of data, such as files.
  16. # Docs: https://developers.cloudflare.com/r2/api/workers/workers-api-usage/
  17. # [[r2_buckets]]
  18. # binding = "MY_BUCKET"
  19. # bucket_name = "my-bucket"
  20. # Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer.
  21. # Docs: https://developers.cloudflare.com/queues/get-started
  22. # [[queues.producers]]
  23. # binding = "MY_QUEUE"
  24. # queue = "my-queue"
  25. # Bind a Queue consumer. Queue Consumers can retrieve tasks scheduled by Producers to act on them.
  26. # Docs: https://developers.cloudflare.com/queues/get-started
  27. # [[queues.consumers]]
  28. # queue = "my-queue"
  29. # Bind another Worker service. Use this binding to call another Worker without network overhead.
  30. # Docs: https://developers.cloudflare.com/workers/platform/services
  31. # [[services]]
  32. # binding = "MY_SERVICE"
  33. # service = "/api/*"
  34. # Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model.
  35. # Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps.
  36. # Docs: https://developers.cloudflare.com/workers/runtime-apis/durable-objects
  37. # [[durable_objects.bindings]]
  38. # name = "MY_DURABLE_OBJECT"
  39. # class_name = "MyDurableObject"
  40. # Durable Object migrations.
  41. # Docs: https://developers.cloudflare.com/workers/learning/using-durable-objects#configure-durable-object-classes-with-migrations
  42. # [[migrations]]
  43. # tag = "v1"
  44. # new_classes = ["MyDurableObject"]