2.2.1 • Published 6 years ago
flavored-docker-compose v2.2.1
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.ymlfile paths loaded from configuration tree; passed todocker-composewith multiple-foptions;projectName: passed todocker-composewith-poption;command: path to customdocker-composeexecutable.
Install
$ npm install --save-dev flavors flavored-docker-composeUsage
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.