Lurker News

Comments (152) 45 threads

Earlier comments
tegiddrone#
Looks nice! Something I'd want in front is some sort of basic app firewall like fail2ban or CrowdSec to ban vuln scanners and other intrusion attempts. It is a nice thing about Cloudflare since they provide some of this protection.
funshed#
Nice, you should probably explain what traefik, sops and age will do. First time I've heard of sops, very handy!
jfdi#
These are great. Having tooling to get stuff out fast and as safely as possible to get to iterating openly.

Here’s a bash script I posted a while back on a different thread that does similar thing if of interest for anyone. It’s probably less nice than op’s for ex it only works with digitalocean (which is great!) - but it’s simple small and mostly readable. also assumes docker - but all via compose, with some samples like nginx w auto-ssl via le.
https://github.com/thomaswilley/tide.sh

johnklos1 reply#
"to self-host any app"

Docker != app. Perhaps it'd be more accurate to say, "to host any Docker container"?

prmoustache1 reply#
I am not saying docker is the best way to run any app, but could you share a kind of app can't you host in a docker?

I mean on rootless containers, yes, a lot of apps that need access to the underlying system might not work, but they are usually system stuff, not the kind you want to host on a VPS anyway. But when running as root I can't think of many.

johnklos#
There are many, many things that can't be hosted in Docker. For instance, literally everything that I run on many of my servers can't, because Docker only supports certain platforms and architectures. Things that we want to run on systems with modest amounts of CPU and memory can't be run via Docker for obvious reasons. Stuff that needs hardware access can't. Stuff that needs finer resolution of permissions can, but there's a lot more work that needs to be done.

But even ignoring those, if I'm going to spend all the time needed to containerize everything in to Docker images myself, why wouldn't I just run the programs directly and not deal with the overhead and extra work?

Load more comments