This template deploys a static website using the Caddy server and works seamlessly with both Railway and DigitalOcean. By default, the site/ directory gets deployed as a static site. This can be modified by changing the Dockerfile.
For a step-by-step guide, see this tutorial, or click the button below to deploy instantly on Railway.
Although this repo is optimized for Railway, the same setup can be deployed to DigitalOcean using App Platform or a custom droplet. Follow this guide for detailed instructions.