Support for docker-compose
under review
Log In
David Lechevalier
Merged in a post:
Make usage of docker compose more convenient
Nickolai Burtsev
I don't want to manually add each service from compose.yaml as a koyeb service. For me a way to use docker compose for example to run all my services as a one koyeb service is missing
David Lechevalier
Hi! I assume this is similar to the other idea you have voted for here. Is that correct? If so, I'll merge your idea into the other one.
Nickolai Burtsev
David Lechevalier, Yes, it is correct
Julien Castets
Hello!
We've developed a handy tool at https://github.com/koyeb/koyeb-docker-compose for effortless deployment of docker-compose applications on Koyeb.
All you need to do is create a custom Dockerfile.koyeb and use it to build your Git repository within a privileged container.
If you prefer, you can also consider breaking down your application into multiple Koyeb services. This allows for independent monitoring, automatic rescheduling in case of failures, and individual scaling. However, if you'd rather stick with docker-compose, that's perfectly fine!
Just ensure that you have a good understanding of the process. Keep in mind that if your application gets rescheduled, containers relying on volumes will start with empty volumes since we don't currently provide persistent storage (yet!).
Yann Léger
under review
Yann Léger
Merged in a post:
Build from compose.yaml
borisgra
Use compose.yaml and .env for buil