News for hackers. Stuff that matters.
Re:Running Nomad for a Home Server by ForHackernews on Monday February 15, 2021 @01:10PM (#26145312)
Are there any lightweight but production-ready PaaS offerings out there?

I know there's Dokku, https://flynn.io/ looked super promising but I think it's basically dead now, same for Deis that is dead and forked to https://web.teamhephy.com/.

Re:Running Nomad for a Home Server by viraptor on Monday February 15, 2021 @02:21PM (#26146120)
There seems to be a significant lack of open source PaaS as you mentioned. And Dokku is unfortunately a very leaky bucket of abstractions - fun if you're learning docker, annoying otherwise.

This kind of makes sense given how much work it is and how easy it is to monetize as a paid service.

Re:Running Nomad for a Home Server by josegonzalez on Monday February 15, 2021 @05:18PM (#26148276)
As the maintainer of Dokku, I'd love to hear more about what you think we can improve here. It is certainly an abstraction over basic Docker commands, but so are other schedulers and platforms.

That said, any feedback is more than welcome.

Re:Running Nomad for a Home Server by viraptor on Monday February 15, 2021 @11:41PM (#26151016)
I can't recall the specifics, but keep running into issues when setting up port forwarding, attaching networks, etc. where I end up chasing the reason things don't work down to "docker inspect"-ing things. Usually it's some step I missed or overlooked, but the state I'm in just doesn't do anything useful. It makes sense I end up in that situation because I'm using something that maps to docker commands. I guess I expect a PaaS solution to own more of the system and tell me something like "the way you try to proxy doesn't make sense with the container you spawn", or "you added a network to attach to, and made other changes, the app will be restarted to apply it".

To be clear, I didn't want to say Dokku does things wrong. I'd like something that can validate changes and expected state. But if Dokku is supposed to be a "thin layer", that's cool.

Re:Running Nomad for a Home Server by GordonS on Monday February 15, 2021 @02:18PM (#26146088)
Others I've came across on HN are Caprover, Flynn and Apollo.
Re:Running Nomad for a Home Server by sweeneyrod on Monday February 15, 2021 @02:40PM (#26146344)
Capnrover seems like the best option. I have the same perception of Flynn. Dokku is nice but I don't really see how you could use it in production since it's limited to a single server (there are definitely some cases where that's all you need but I can't imagine you'd need a PaaS for most of them).
Re:Running Nomad for a Home Server by josegonzalez on Monday February 15, 2021 @05:17PM (#26148257)
Maintainer of Dokku here:

It isn't limited to a single system, and has a scheduler component for Kubernetes (https://github.com/dokku/dokku-scheduler-kubernetes) and Nomad (https://github.com/dokku/dokku-scheduler-nomad).

Re:Running Nomad for a Home Server by sweeneyrod on Tuesday February 16, 2021 @05:55PM (#26159848)
Cool! It looks like those are in beta/not very widely used though. And my impression is that I'd probably have to understand k8s/nomad pretty well to use them; really I'd like something with an experience closer to Heroku where that layer is as abstracted as possible.
Re:Running Nomad for a Home Server by ForHackernews on Monday February 15, 2021 @05:51PM (#26148669)
I love the developer experience of Dokku!

That said, I would be very nervous to advocate using Dokku for any critical production systems. Are my fears ill founded? Or if not, is there any roadmap to making Dokku production-stable? How can people help?

Re:Running Nomad for a Home Server by ipmb on Monday February 15, 2021 @06:31PM (#26149101)
If you're on AWS, you might be interested our product https://apppack.io.
Re:Running Nomad for a Home Server by ForHackernews on Tuesday February 16, 2021 @04:05AM (#26152214)
Thanks for the link. Honestly one of my goals is to avoid becoming too dependent on on proprietary clouds. If I wanted something that only works on Amazon, there's always ElasticBeanstalk/Amplify & friends.