shawaj
November 22, 2021, 4:11pm
1
Is it possible to specify one or more docker-compose.yml files to balena deploy?
For example with docker it’s possible to do:
docker-compose -f a.yml
Or you can use multiple like:
docker-compose -f a.yml -f b.yml
And it will merge them.
Is this possible with balena deploy also?
Ref Share Compose configurations between files and projects | Docker Documentation
Hi,
Thanks for bringing this to our attention. It doesn’t look like this is a feature, currently. I’ve opened an issue which you can track here if you wish: User would like to be able to specify multiple docker-compose files which are combined · Issue #2392 · balena-io/balena-cli · GitHub
Regards,
Christina
cdalke
March 10, 2022, 4:17pm
4
+1 on this issue. We’re currently using the default “docker-compose.yml” file for Balena, and a “docker-compose.local.yml” file for testing locally. It would be great for the Balena CLI to confirm to the same syntax as docker-compose and allow the file to be overridden with -f.
Thanks for letting us know - I’ve logged it into our system but the best place to keep track is the GH issue above.