Hyphen
← Back to Changelog

Deploy to Cloudflare and DigitalOcean

added

Cloudflare and DigitalOcean logos below the Hyphen Deploy logo

Deploy Docker apps to Cloudflare Containers or DigitalOcean App Platform. For Cloudflare static sites, you can also set custom URLs and response rules.

Ship Docker Apps to Two More Providers

Cloudflare Containers. Deploy a server app to the same Cloudflare account you use for static sites. Enable Containers on a Workers Paid account. Publish a Linux AMD64 image with Hyphen CLI and select Cloudflare as the deployment target.

DigitalOcean App Platform. Connect the DigitalOcean team where you want to run your app. Hyphen CLI publishes the image to DigitalOcean Container Registry, and Hyphen Deploy releases it to App Platform.

Run hx update to get the new build support in Hyphen CLI v0.33.0.

Make Cloudflare Static Sites Fit Your Domain

Give a site its own hostname or serve it under a path on an existing domain. Use redirects so old links still work, and set a custom 404 page to help visitors find their way back. Keep headers, redirects, single-page app fallback, and the custom 404 page with the build in your .hx configuration.

See the Cloudflare guide to set up static hosting.

Review Deployments from Project Overview

See the apps in an environment and check its recent deployment runs in one place. Open environment settings from the environment picker when you need to change the setup. You can also add an app or create a storage bucket from Overview.