dcsg icon indicating copy to clipboard operation
dcsg copied to clipboard

Support multiple docker-compose files

Open sobolevn opened this issue 7 years ago • 3 comments

Right now docker-compose can use multiple -f flags to start. And that's how we deploy our stack. Do you consider adding support for multiple files?

sobolevn avatar Oct 08 '17 16:10 sobolevn

Hey @sobolevn

it's been a while since you've created this issue.
In case your feature-request still matters: I've added support for multiple docker-compose files.

Until @andreaskoch has reviewed the pull request you can build and use dcsg from my source:

git clone --single-branch -b 'feature/#8_multiple-compose-files' https://github.com/Hermsi1337/dcsg.git dcsg-hermsi
cd dcsg-hermsi
go build
./dcsg install --help

In order to provide additional compose.yml-files you can simply add them to the install command:

dcsg install my-compose-project docker-compose.yaml override.yaml overwrite.yaml 

Hermsi1337 avatar Nov 01 '18 13:11 Hermsi1337

@Hermsi1337 thanks!

sobolevn avatar Nov 01 '18 13:11 sobolevn

@sobolevn You're welcome.

I would appreciate your feedback! (=

Hermsi1337 avatar Nov 01 '18 13:11 Hermsi1337