HackerTrans
TopNewTrendsCommentsPastAskShowJobs

marktolson

no profile record

Submissions

Show HN: Pooshit – Sync local code to remote Docker containers

55 points·by marktolson·vor 10 Monaten·49 comments

Pooshit – sync local code to remote Docker containers

github.com
6 points·by marktolson·vor 10 Monaten·1 comments

comments

marktolson
·vor 3 Monaten·discuss
I got it to transcribe this: "Create tests and ensure all tests pass" and instead of transcribing exactly what I said it outputs nonsense around "I am a large language model and I cannot create and execute tests".

Other than that issue I like it.
marktolson
·vor 3 Monaten·discuss
Genuinely impressed with this! Thank you!
marktolson
·vor 6 Monaten·discuss
Crashes on Mac trying to open up a fairly small workspace (max 97,000 rows).
marktolson
·vor 7 Monaten·discuss
Looks good but there is no way I'm installing powershell as a dependency.
marktolson
·vor 9 Monaten·discuss
I represent one of those stars. N8N is an amazing system. I use it daily and have seen incredible progress made consistently over the past few years. Currently my team use it for processing millions of workflows each year on a very small server and it hasn't cost us a cent so I would give them more than 1 star if I could. I wouldn't build a new system without it to be honest.
marktolson
·vor 10 Monaten·discuss
Not sure if you read the description but I clearly stated that I wanted no middleman, so I'm not sure how this solves my use case. Also not sure how it requires the same amount of time, and 'manual intervention every time'? You provision a remote server, install docker then update the local config file and it's done. One line deployments everytime. And why would I update the code inside the container when you need a build process to install dependencies? If you want to update code while the app is running then restart, then docker is not the right solution.

Additionally there are a million different and better ways to deploy services, this suits the use case I described.
marktolson
·vor 10 Monaten·discuss
Better off trying to get it brownlit.
marktolson
·vor 10 Monaten·discuss
It's not based on k8s, it's just pushing your local app to a server and spinning up a conainer with one CLI call.
marktolson
·vor 10 Monaten·discuss
Here is my main use case. I have lightweight services that I need to update and deploy regularly (until I movee to K8s or a proper production env). Using pooshit, I can push my entire local dev folder to a remote server then destroy the old image, rebuild the new image and spin up a new container with one call. Your config file contains your remote config. You need nothing in between you and your remote server and it only relies on SSH and docker, nothing else, no middleman, repos, and no deployment containers running on your VM.
marktolson
·vor 10 Monaten·discuss
Probably pretty similar except you get to just write "pooshit" instead.
marktolson
·vor 10 Monaten·discuss
Yes.
marktolson
·vor 10 Monaten·discuss
Because I don't want to do this: https://mutagen.io/documentation/introduction/getting-starte...
marktolson
·vor 10 Monaten·discuss
Pronounced Push-It....

I'm a lazy developer for the most part, so this is for people like me. Sometimes I just want my local code running in live remote containers quickly, without building images and syncing to cloud docker repos or setting up git workflows or any of the other draining ways to get your code running remotely.

With pooshit (and a simple config file), you can simply push your local dev files to a remote folder on a VM then automatically remove relevant running containers, then build and run an updated container with one command line call.

It works well with reverse proxies like nginx or caddy as you can specify the docker run arguments in the pooshit_config files.