Closed jwaes closed 4 months ago
This is intentional since the file has been explicitly selected. If however you run "Compose Up" from the command palette instead of right-clicking the file, it will run the default docker compose up -d
command, which will include both the docker.compose.yml
and docker-compose.override.yml
files.
You can also use command customization to get the exact behavior you want.
Ok, clear. Thank you. But in this logic i would expect that right clicking the docker-compose.override.yml file would take it into account. But that does not invoke its parent. This was actually my first intuitive try.
But thanks for your explenation i didnt use the command palette yet. And that indeed works.
When i start from the command line
docker compose up
my docker-compose.override.yml file gets taken into account as expected.When i right click in the extension on the docker-compose.yml file in the explorer panel and choose 'Compose Up' from the menu, the configuration the override file is ignored.