1
votes

I'm experimenting with Azure App Service for Linux + Multi-Container apps (aka Docker-Compose).

On my localhost development machine I have:

  • docker-compose.yml (main file)
  • docker-compose.override.yml (localhost dev settings, via environment vars)
  • docker-compose.development.yml (azure development experiment settings via environment vars)

the main docker-compose.yml file has about 8 images in it, from a reverse-proxy to some web sites and then some background hosts that do background work.

All work 100% awesome on my localhost.

Now, I'm trying to see if this can get put up to azure with the new Azure App Service for Linux + Multi-Containers. This is part of the UI:

It's only allowing me 1x yaml file to use as the configuration. So I have no idea how to also add my docker-compose.development.yml file as a second file which will override any existing settinsg from the main file.

Similar if I do docker-compose -f docker-compose.yml docker-compose.development.yml up

Is this possible with Azure App Service for Linux + Multi-Containers?

1

1 Answers

1
votes

Unfortunately, the Azure App Service for Linux + Multi-Container apps do not support multiple yaml files, just one for this moment, basically it is encoding that file and pass it through linux_fx_version, you can see the same process using Azure CLI, see the code here. And also there are just a few supported options, check the support options list in Docker Compose Options.