joyent-portal/packages/docker-compose-client
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00
..
src chore: initial lerna setup 2017-05-25 10:56:50 +01:00
test chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.baberc chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.eslintignore chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.eslintrc chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.tern-project chore: initial lerna setup 2017-05-25 10:56:50 +01:00
README.md chore: initial lerna setup 2017-05-25 10:56:50 +01:00
package.json chore: initial lerna setup 2017-05-25 10:56:50 +01:00
yarn.lock chore: initial lerna setup 2017-05-25 10:56:50 +01:00

README.md

docker-compose-client

License: MPL 2.0 npm standard-readme compliant

Server that exposes CloudApi through GraphQL.

Table of Contents

Install

yarn add docker-compose-client

Usage

const client = new DockerComposeClient();

const res = await client.provision({
  projectName: 'docker-compose-client',
  manifest: `
    hello:
      image: hello-world:latest
    world:
      image: consul:latest
    node:
      image: node:latest
  `
});

License

MPL-2.0