Live data from Hacker News

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

news.ycombinator.com

31–40 of 51 posts

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

#31
I understand what you are trying to do but you should checkout dokploy or coolify.

You push to github, github action builds it and hits dokploy webhook and it pulls your github code and build and deploy on that server.

This is more reliable and industry way. What you are doing requires same amount of time to deploy and requires manual intervention every time.

For once i thought you were moving code to server and then you just restarted container and it worked without having to build. I have done it in the past due to some unique requirements where dependencies are in docker image and code is copied from local to server and docker image took code from server on start.

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

#33

I understand what you are trying to do but you should checkout dokploy or coolify. You push to github, github action builds it and hits dokploy webhook and it pulls your github code and build and deploy on that server. This is more reliable and industry way. What you are doing requires same amount of time to deploy and requires manual intervention every time. For once i thought you were moving code to server and then…

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.

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

#35

Useful project. Name that no reasonable company would allow IT department to use. 10 out of 10! It worked for CockroachDB. I hope it turns into a unicorn and I'm not joking about that.

The cockroachDB thing, was that intentional or just incidental?

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

#36

Useful project. Name that no reasonable company would allow IT department to use. 10 out of 10! It worked for CockroachDB. I hope it turns into a unicorn and I'm not joking about that.

I can't remember what the package was, but when I was working for "large bank", one of the npm dependencies we wanted to use had a licence file that just said 'Do whatever the fuck you want'. Legal came back saying that it was "highly unorthodox, but approved for use"

That’s amazing. I’d really like to steal that, but not being a lawyer, I’m not sure how viable it is as an actual license.

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

#37

Earlier quoted context omitted.

I can't remember what the package was, but when I was working for "large bank", one of the npm dependencies we wanted to use had a licence file that just said 'Do whatever the fuck you want'. Legal came back saying that it was "highly unorthodox, but approved for use"

That’s amazing. I’d really like to steal that, but not being a lawyer, I’m not sure how viable it is as an actual license.

FSF has approved it, OSI has not. Make of that what you will. https://en.wikipedia.org/wiki/WTFPL

Notes from OSI rejection board meeting

> It's no different from dedication to the public domain.

-- https://en.wikipedia.org/wiki/WTFPL#cite_note-osi-2

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

#40

Neat project, but what does this do differently than docker compose with the --host flag? https://docs.docker.com/reference/cli/docker/#host It uploads your whole local docker context, source code and all, builds the image on the remote server and up's the container(s) all with a single command. I use this all the time when deploying simple services to avoid all of the complexity of registries etc. docker -H ssh://re…

What!?!? This is a thing? How did I not know about this. Thanks for the share!
Post reply on HN