Override and docker-compose

Hi, I’d like to add some labels to nginx container and -following suggestions in this forum- I wanted to used docker-compose.override.yml but it seems to me that it gets ignored when using option -f.

Am I wrong? what is the suggested way to override/add docker-compose configuration?


If you add a custom docker-compose.override.yml file to $(tutor config printroot)/env/local, it will automatically be picked up by Tutor.

Admittedly, this feature is not documented at all… I opened a PR to address this deficiency: https://github.com/overhangio/tutor/pull/486

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.