> ## Content Index
> Fetch the complete content index at: https://muratcorlu.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# #TIL - Docker based static site hosting solutions
- URL: https://muratcorlu.com/til-docker-based-static-site-hosting-solutions/
- Published: 2024-02-21T18:18:47.000Z
- Updated: 2024-02-21T18:18:47.000Z
- Author: Murat Çorlu
- Tags: Today I Learned

As a frontend developer, I deployed hundreds of static website projects until now on tens of different providers including GitHub/GitLab pages, Netlify, Surge.sh, Firebase, AWS S3 (+ Cloudfront) and also my very own [domain to path redirected Nginx server](https://gist.github.com/muratcorlu/bae35db86429684f018d4c9f0b6123ca?ref=muratcorlu.com). They are all good services but either expensive or limited for some use-cases.

Nowadays my favorite is Cloudflare Pages but main downside of it, basically you need to move your domain to Cloudflare to get the full advantage of Pages. Cloudflare DNS (and CDN) is also a great and -mostly- free service, so no problem for your own websites. But if you consider to deploy autogenerated static websites for a SaaS project, then you have some challenges.

Today I was having a look for good self-hosted solutions and noticed [Meli](https://github.com/getmeli/meli?ref=muratcorlu.com) on a [Reddit post](https://www.reddit.com/r/devops/comments/kb5l6m/meli%5Fa%5Fnetlifylike%5Fplatform%5Ffor%5Fdeploying%5Fstatic/?ref=muratcorlu.com).

[GitHub - getmeli/meli: Platform for deploying static sites and frontend applications easily. Automatic SSL, deploy previews, reverse proxy, and more.Platform for deploying static sites and frontend applications easily. Automatic SSL, deploy previews, reverse proxy, and more. - getmeli/meli![](https://github.githubassets.com/assets/pinned-octocat-093da3e6fa40.svg)GitHubgetmeli![](https://opengraph.githubassets.com/e1b279ad7213faa8d3a07a9c5d4b856e8117148b0950b314a321f329d22ee26f/getmeli/meli)](https://github.com/getmeli/meli?ref=muratcorlu.com)

It looks very nice! It targets to really replace a static hosting service like Netlify. It has a UI, a CLI and many configuration options. It looks unmaintained anymore dough (I even considered to maintain it). It uses [Caddy](https://caddyserver.com/?ref=muratcorlu.com) as the HTTP server, which is the one I always want to try but no chance yet. Apparently [it can work](https://github.com/getmeli/meli-docs/blob/latest/docs/configuration/reverse-proxy.md?ref=muratcorlu.com#traefik) with Docker Swarm behind [Traefik](https://traefik.io/?ref=muratcorlu.com), which is also important for me.

Other one that I could find was [staticdeploy](https://github.com/staticdeploy/staticdeploy?ref=muratcorlu.com).

[GitHub - staticdeploy/staticdeploy: Open-Source Platform for Deploying Static AppsOpen-Source Platform for Deploying Static Apps. Contribute to staticdeploy/staticdeploy development by creating an account on GitHub.![](https://github.githubassets.com/assets/pinned-octocat-093da3e6fa40.svg)GitHubstaticdeploy![](https://repository-images.githubusercontent.com/111467353/eaea8c80-dde5-11e9-8382-8b52d8fb26ce)](https://github.com/staticdeploy/staticdeploy?ref=muratcorlu.com)

It seems like the development of this project also stopped 3 years ago as Meli (Something must have happened about this matter 3 years ago. 😊 ) This project doesn't have a UI but still have good configuration options, a CLI helper.

I'll try both projects and give it a try. Maybe I can write my thoughts later in a separate article.

BONUS: I also came across such a fun article while researching this topic:

[The smallest Docker image to serve static websitesThe smallest Docker image to serve static websites![](https://lipanski.com/favicon.ico)Florin Lipan![](https://lipanski.com/assets/images/logo.jpg)](https://lipanski.com/posts/smallest-docker-image-static-website?ref=muratcorlu.com)