Skip to content
This repository was archived by the owner on Jul 30, 2019. It is now read-only.

flavors-js/flavored-docker-compose-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

This module is deprecated. Use flavored-docker-compose instead.

flavored-docker-compose-cli

Run docker-compose with environment set up by Flavors.

Install

$ npm install -g flavored-docker-compose-cli

Usage

CLI

Define Flavors options in flavorsOptions.js file, for example:

module.exports = {
    configName: process.env.configName || 'default',
    workingDir: __dirname
};

Run flavored-docker-compose in directory where this file is located and docker-compose will be executed with environment variables set up by values from configuration files loaded by Flavors.

Node.js module

const dockerCompose = require('flavored-docker-compose-cli')(flavorsOptions);
const config = dockerCompose.config; // configuration loaded by Flavors
dockerCompose.run(); // run docker-compose

Maintainers

License

See the LICENSE file for details.

About

Run docker-compose with environment set up by Flavors.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors