Skip to content

mattn/cloudflare-hello-containers

Repository files navigation

Containers Starter

Deploy to Cloudflare

Containers Template Preview

This is a Container starter template.

It demonstrates basic Container coniguration, launching and routing to individual container, load balancing over multiple container, running basic hooks on container status changes.

Outside of this repo, you can start a new project with this template using C3 (the create-cloudflare CLI):

npm create cloudflare@latest -- --template=cloudflare/templates/containers-template

Getting Started

First, run:

npm install
# or
yarn install
# or
pnpm install
# or
bun install

Then run the development server (using the package manager of your choice):

npm run dev

Open http://localhost:8787 with your browser to see the result.

You can start editing your Worker by modifying src/index.ts and you can start editing your Container by editing the content of container_src.

Deploying To Production

Command Action
npm run deploy Deploy your application to Cloudflare

Learn More

To learn more about Containers, take a look at the following resources:

Your feedback and contributions are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •