flavored-docker-compose
v2.2.1
Published
docker-compose plugin for Flavors CLI.
Downloads
28
Maintainers
Readme
flavored-docker-compose
docker-compose plugin for Flavors CLI.
Adds to loaded configuration dockerCompose
property containing object with the following properties:
files
: array containingdocker-compose.yml
file paths loaded from configuration tree; passed todocker-compose
with multiple-f
options;projectName
: passed todocker-compose
with-p
option;command
: path to customdocker-compose
executable.
Install
$ npm install --save-dev flavors flavored-docker-compose
Usage
You can pass it as a plugin to flavors CLI and specify additional flavors options:
$ npx flavors run [flavors options...] -p flavored-docker-compose [docker-compose options...]
Or run directly with default flavors options:
$ npx flavored-docker-compose [docker-compose options...]
Or use it with flavors command runner:
const runner = require('flavors/runner');
runner({ plugin: require('flavored-docker-compose'), args: [/* docker-compose args, i.e. "up" */]}, configName, options);
Maintainers
License
See the LICENSE file for details.