Skip to main content

Overview

SuperBox deployment has two independent steps:
  1. Cloudflare Worker - deployed with wrangler deploy (edge, globally distributed)
  2. Go API - deployed as a Docker container (self-hosted or any container platform)

Deploy the Cloudflare Worker

1

Install dependencies

2

Authenticate

3

Deploy

Expected output:
The Worker is deployed globally - no region selection needed. Durable Objects are created on-demand at the edge.

Deploy the Go API

Docker build

Build and run:

Environment variables

CI/CD (GitHub Actions)

Example workflow:

Verify deployment

Rollback

For the Go API, re-run docker run with the previous image tag.