Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/free-dogs-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@cloudflare/containers': minor
---

add pingEndpoint to configure the ping URL of the container class
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@ The following properties are used to set defaults when starting the container, b

Defaults to `true`.

- `pingEndpoint: string`

Specify an endpoint the container class will hit to check if the underlying instance started.
This does not need to be set by the majority of people, only use it if you would like the container supervisor
to hit another endpoint in your container when it starts it.
Observe that `pingEndpoint` can include both the hostname and the path. You can
set `container/health`, meaning `"container"` will be the value passed along the `Host` header, and
`"/health"` the path.

Defaults to `ping`.

#### Methods

##### Lifecycle Hooks
Expand Down
Loading