Solved Can cloudron use docker-compose during the install?
-
I am building an app whose docker installation depends on docker-compose.
Is it possible to reuse these files?
-
Sorry, it currently is not.
-
Not directly, but you can convert into a Cloudron app. What app are we talking about here?
-
@girish It was a self-built symfony bundle i wanted to turn into a cloudron app:
https://github.com/maxpou/docker-symfonyDo you habe any advice on how to convert it?
-
There are no plans to support generic docker-compose as such, we do have since added a docker addon for apps, to allow spawning docker containers, however this is not matching the docker compose way 1to1.
-
@nebulon Does this Docker add-on still work. I need two containers to talk to each other and / or maybe use this to combine the two Docker containers as much as possible so that they can talk to each other.
-
The addon still works. If you want to have individual Cloudron apps packaged in a way that they can talk to each other, you may want to look at adding the
net_admin
capability for those: https://docs.cloudron.io/custom-apps/manifest/#capabilities -
Your link to the "docker addon" is broken. But the NET_ADMIN capabillity being able to
CAP_NET_ADMIN
might work. That app could potentially change the network configuration of all apps globally (not one by one which is my actual goal as per the other thread) according to the Linux documentation tho I don't know exactly what yournet_admin
capabilities are yet (or how much they effect other Cloudron apps). Thanks for pointing me in a potentially better direction! -
You can find the referenced documentation for the docker addon at https://docs.cloudron.io/packaging/addons/#docker nowadays.