top | item 35754948

(no title)

emkrawiec | 2 years ago

looks nice and tries to solve a problem i had a while ago: how to deploy a small dockerized app to a cheap vm with declarative deploy (like k8s) but without k8s.

anyone know a similiar tool?

discuss

order

simo7|2 years ago

You can ship your local docker context to a remote host and build/run your containers there. All the docker commands you typically run locally you can run on the remote host.

https://www.docker.com/blog/how-to-deploy-on-remote-docker-h...

emkrawiec|2 years ago

thanks! I was a little bit confused at first because I've always taken docker compose as a tool mainly for spinning up dev environments. But I read mentioned article and it looks perfectly valid for single host deployments. One thing which bothered me is how i manage container versions usually made with hashes but all you need is to either make sth like a compose template like file which would have a version placeholder or specify production compose configuration on top of the default one.

https://stackoverflow.com/a/71194294 https://docs.docker.com/compose/production/

doublepg23|2 years ago

Am I missing the problem with just docker-compose?