Multiple compose files #2882
-
Hello there, my current project contains multiple docker compose files in the development. Is there way to get the extension to execute a command with multiple compose files? Kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, there are two different ways to do this! The first is with command customization, where you can customize the command that gets assembled when doing the "Docker: Compose Up" action. It would probably make the most sense to put these command settings in the workspace rather than as global user settings. The second is using a |
Beta Was this translation helpful? Give feedback.
Yes, there are two different ways to do this!
The first is with command customization, where you can customize the command that gets assembled when doing the "Docker: Compose Up" action. It would probably make the most sense to put these command settings in the workspace rather than as global user settings.
The second is using a
docker-compose
task which I personally think works better for multiple files, but it's up to you.