Better HN
topnewbestaskshowjobs
Log inSign up

mightymoud

148 karma · joined Sep 17, 2024 (2y ago) · 22 submissions

Submissions

comment 2y ago · link · parent

Planweb looks really promising. Keen to get in touch and see how I can help support the vision of Plainweb with Sidekick then you can reference it in the docs.

I'll reach out on twitter

comment 2y ago · link · parent

I wrote a intro guide to pterm and cobra-cli here https://mightytuts.com/blog/golang-cli-introduction-with-cob... I also have a video on YT if that is your thing

comment 2y ago · link · parent

No Sidekick doesn't use firecracker. I know fly.io is built around it yes. They do that so they can put your app to sleep - basically shutting it down - then spin it up real quick when it gets a request. No place for this in Sidekick vision

comment 2y ago · link · parent

It's a tunnel. So VPS can only be reached through cloudflare. It's not only for https, but more for security and lockdown

comment 2y ago · link · parent

Interesting setup....

How do you run the containers on your VPS tho? You could still use Sidekick for that!

I think your setup is one step up in security from Sidekick nonetheless. A lot more work it seems too

comment 2y ago · link · parent

Yup deploy hooks are on my mind. Just didn't put them on Readme. Shouldn't be very hard to implement. Might do this first before docker-compose support.

comment 2y ago · link · parent

1) Kamal is more geared towards having one VPS for project - it' made for big projects really. They also show on the demo that even the db is hosted on its own VPS. Which is great! But not for me or Sidekick target audience. Kamal V2 will support multi-projects on a single VPS afaik

2) yes yes yes! I really like litestream. Also backup is one of those critical but annoying thing that Sidekick is meant to take care of for you. I'll look into Bearman. My vision is like we would have one command for most popular db types and it would use stubs to configure everything the right way. Need to sort out docker-compose support first though...

comment 2y ago · link · parent

Locally here means the locally on your laptop locally, not locally on your VPS. Contrary to popular opinion, I believe your source code shouldn't be on your prod machine - a docker image is all you need. Lots of other projects push your code to VPS to build the image there then use it. I see no point in doing that...

comment 2y ago · link · parent

hahah seems like we went down the same rabbit hole. I also considered `docker-rollout` but decided to write my own script. Heavily inspired by the docker-rollout source code btw. Just curious, why did you decide to go with docker plugins?

comment 2y ago · link · parent

Thanks man! I'm working on the docker-compose support. I got it working locally, but the ergonomics are really hard to get right, cus compose files are so flexible. I was even considering using the `sidekick.yaml` file as the main config and then turn that into docker compose - similar to what fly.io does with fly.toml. But I wanna keep this docker centric... so yeah I am still doing more thinking around this

comment 2y ago · link · parent

Sounds like you have a great setup. My vision is to make a setup like yours more accessible really w/o having to play with low level config like ansible. I think you should try to replace nginx with Traefik - it handles certs out of the box!

comment 2y ago · link · parent

Correct me if I'm wrong, Docker Swarm mode is made to manage multi node clusters. This is meant for only one single VPS.

comment 2y ago · link · parent

Thanks! This comment really makes my day!

comment 2y ago · link · parent

Respect! Fly is an absolute beast and to me is best in class for sure!

comment 2y ago · link · parent

I think this is just miscommunication - I meant more in a side-project/application that you made yourself. Not an application package you install on ubuntu

comment 2y ago · link · parent

Glad you found this useful. Let me know if you have specific features in mind.

comment 2y ago · link · parent

Yeah I have noticed the same. It's actually pretty cool

18.

Show HN: A CLI tool I made to self-host any app with two commands on a VPS(github.com ↗)

452 points · by mightymoud · 2y ago · 152 comments