2.2.1 • Published 5 years ago

flavored-docker-compose v2.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

npm Build Status David semantic-release Join the chat at https://gitter.im/flavors-js/flavors

flavored-docker-compose

docker-compose plugin for Flavors CLI.

Adds to loaded configuration dockerCompose property containing object with the following properties:

  • files: array containing docker-compose.yml file paths loaded from configuration tree; passed to docker-compose with multiple -f options;
  • projectName: passed to docker-compose with -p option;
  • command: path to custom docker-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.

2.2.1

5 years ago

2.2.0

5 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago