davisdre / littlelink

Docker version of LIttleLink, a lightweight DIY alternative to services like Linktree and many.link.
MIT License
22 stars 12 forks source link

Web server choice #30

Open viharm opened 1 month ago

viharm commented 1 month ago

Hi, this is very helpful. Thanks for doing this.

Have you considered Caddy over NGINX? I have found it to be lighter, especially for such a straightforward HTML/CSS serving application.

If you have, then please ignore this. Although it would be good to know if there are any issues with Caddy.

davisdre commented 3 weeks ago

Hello @viharm and thank you for your feedback.

I shall look into and provide my findings.

viharm commented 3 weeks ago

Thanks for keeping an open mind.

Here’s another reference which compiles the busybox httpd server with musl from an alpine image and deployed in a scratch image for a super light weight image.

https://lipanski.com/posts/smallest-docker-image-static-website

I haven’t carried out a risk assessment, but it’s worth considering. Please let me know if I can help.