Live data from Hacker News

Awesome Docker Compose Examples

github.com

81–85 of 85 posts

Re: Awesome Docker Compose Examples

#81
post #80

Earlier quoted context omitted.

Docker Compose cannot currently be deployed on fly.io: https://community.fly.io/t/deploy-with-docker-compose-yaml/4... . Unfortunately, there's a huge gap between "single container" and "multiple, co-dependent containers". It's a far cry between services hosting a single container and ones offering to host entire stacks.

Right, I wasn't suggesting you could deploy with Docker Compose on fly.io. Hence why I prefaced my suggestion with "It's not exactly what you're asking for..." And I think you're exaggerating the "huge gap" there. Fly.io can run multiple docker containers for you. Their docs are great so it wouldn't take much effort to learn how to create an equivalent or better setup that covers everything Docker Compose does (and m…

I agree fly.io comes close, but you’d still need to transition to ‘something else’ for deploying your compose project.

Re: Awesome Docker Compose Examples

#82
post #77
post #35

Earlier quoted context omitted.

Taking a quick look and nothing I saw manages ssl - do you even package that or do you have that as entirely different steps?

It's not included with these projects, as someone else mentioned in a reply to you, it can be handled in a number of different spots. For example, a load balancer running 1 level above your server or perhaps nginx running directly on your Docker host without Docker. A while back I wrote up why I prefer running nginx outside of Docker at: https://nickjanetakis.com/blog/why-i-prefer-running-nginx-on...

Your paragraph on SSL is basically what I have come to understand so thank you, I just thought I must be stupid or something.

Re: Awesome Docker Compose Examples

#83
I've stopped using Docker Compose and only use Kubernetes. Even when working locally.

I don't want the impedence mismatch of working locally with Docker and remotely with K8s.

That being said, K8s IS harder to setup initially.

Having to setup an NFS share locally to be able to properly mount data in a PV is suboptimal.

Re: Awesome Docker Compose Examples

#84
post #62

I think I’ve asked this question before but I really don’t understand why there is no managed docker compose hosting solution. I think Swarm did that, but I believe they stopped? Every project I worked on used compose locally, but had to transpose to some k8s/nomad setup in production. I’d love to just run ‘docker compose deploy’ or publish or whatever and it just gets deployed to the cloud + load balancing and autos…

Swarm still is a thing. The recentl docker release even has new features in it.

Also see https://github.com/BretFisher/awesome-swarm

Re: Awesome Docker Compose Examples

#85
post #62

I think I’ve asked this question before but I really don’t understand why there is no managed docker compose hosting solution. I think Swarm did that, but I believe they stopped? Every project I worked on used compose locally, but had to transpose to some k8s/nomad setup in production. I’d love to just run ‘docker compose deploy’ or publish or whatever and it just gets deployed to the cloud + load balancing and autos…

Coolify (https://coolify.io/) has support for deploying docker-compose based app. It works quite well and is easy to use. You still need to manage the server on which you deploy the tool, though.
Post reply on HN