Skip to content

Example container image for running on Cloudflare's container runtime

License

Notifications You must be signed in to change notification settings

cloudflare/hello-world-container-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare Container Example

This repo contains a simple example application which can be run in Cloudflare's container runtime.

The example app serves a single HTML page with an incrementing visit counter and a toggleable health status. The health status can be modified by sending a POST request to /health with the status query parameter set to either healthy or unhealthy. The health status can be queried by sending a GET request to /health: if the application is healthy it will return an empty response with a 200 status code; otherwise, it will send an empty response with a 503 status code.

About

Example container image for running on Cloudflare's container runtime

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published