joyent-portal/packages/docker-compose-client/README.md
2017-05-31 22:35:35 +01:00

951 B

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