A tiny Docker image to serve static websites
111–120 of 156 posts
Re: A tiny Docker image to serve static websites
#112For static websites, is there any reason not to host them on GitHub? Since GitHub Pages lets you attach a custom domain, it seems like the perfect choice. I would expect their CDN to be pretty awesome. And updating the website with a simple git push seems convenient.
Wanting to own your own web presence is reason not to host them on GitHub. For static websites, CDNs are largely unnecessary. My potato of a website hosted from a computer in my living room has been on the front page of HN several times without as much as increasing its fan speed. It took Elon Musk tweeting a link to one of my blog posts before it started struggling to serve pages. I think it ran out of file descript…
Re: A tiny Docker image to serve static websites
#113For static websites, hosting them directly on S3 with cloudfront, or on cloudflare might be a better option?
Re: A tiny Docker image to serve static websites
#114Earlier quoted context omitted.
What value is that, for running such a simple piece of software?
A few off the top of my head. The ability to pull the image on to any machine without needing to clone the source files and build it. Smaller images mean faster pod starts when you auto scale.
Which seems like sort of an edge case for value adding, and makes me feel like it really doesn't add any value to do this unless you already are doing it for everything, and thus you really wouldn't be throwing out any value by just serving the static site without the docker overhead.
Re: A tiny Docker image to serve static websites
#115Re: A tiny Docker image to serve static websites
#116Earlier quoted context omitted.
Docker adds other value to the lifecycle of your deployment. An "optimization" where you're removing value is just a compromise. Otherwise we'd all run our static sites on UEFI.
Redbean supports UEFI too. Although we haven't added a bare metal implementation of berkeley sockets yet. Although it's on the roadmap for the future.
i've been meaning to ask you this for a decade. whatever happened to when you wrote a blog with insanely irritating serifs that connected certain letters together? what was the rationale behind that? never seen it since
I'm insanely impressed by APE and redbean by the way, blows OP out of the water!
Re: A tiny Docker image to serve static websites
#117Earlier quoted context omitted.
Wanting to own your own web presence is reason not to host them on GitHub. For static websites, CDNs are largely unnecessary. My potato of a website hosted from a computer in my living room has been on the front page of HN several times without as much as increasing its fan speed. It took Elon Musk tweeting a link to one of my blog posts before it started struggling to serve pages. I think it ran out of file descript…
Are you able to describe how you run yours? I scummed your blog but didn’t see anything about it.
Re: A tiny Docker image to serve static websites
#118Where can I submit a feature request ticket?
Re: A tiny Docker image to serve static websites
#119Re: A tiny Docker image to serve static websites
#120Earlier quoted context omitted.
Docker adds other value to the lifecycle of your deployment. An "optimization" where you're removing value is just a compromise. Otherwise we'd all run our static sites on UEFI.
yeah see some of us still do this on OSes that haven't turned into a giant bloated hodgepodge of security theatre and false panacea software. docker has dead whale on the beach vibes. what value does it offer to those of us who have moved on from the mess linux is becoming?