sample-dockerfile icon indicating copy to clipboard operation
sample-dockerfile copied to clipboard

Apps Plataform accepet Docker-Compose?

Open LucasViniciusPereira opened this issue 5 years ago • 2 comments

My project uses docker, but it is a microservice, so i need to use docker-compose, can i use the platform app for that?

LucasViniciusPereira avatar Jan 14 '21 11:01 LucasViniciusPereira

Hi @LucasViniciusPereira,

App Platform does not directly support docker-compose, but apps can have multiple components. So you can create a component for each of your docker-compose services.

Components within the same app will be able to access each other through the internal network if that is something that you need. For more information on component-to-component access, please see this page: https://www.digitalocean.com/community/questions/app-platform-component-to-component-requests

kamaln7 avatar Jan 21 '21 15:01 kamaln7

Is there any hope of supporting docker compose specs in the future? It's a common standard and would avoid a lot of duplication (having to redefine services all the services in two yaml files).

pirate avatar Apr 23 '21 20:04 pirate