joyent-portal/spikes/compose-demo/vendor/docker-compose-client
Sérgio Ramos 90bd588ed6 compose demo
2017-05-11 16:31:14 +01:00
..
dist compose demo 2017-05-11 16:31:14 +01:00
flow-typed/npm compose demo 2017-05-11 16:31:14 +01:00
scripts compose demo 2017-05-11 16:31:14 +01:00
src compose demo 2017-05-11 16:31:14 +01:00
test compose demo 2017-05-11 16:31:14 +01:00
.babelrc compose demo 2017-05-11 16:31:14 +01:00
.eslintrc compose demo 2017-05-11 16:31:14 +01:00
.flowconfig compose demo 2017-05-11 16:31:14 +01:00
package.json compose demo 2017-05-11 16:31:14 +01:00
readme.md compose demo 2017-05-11 16:31:14 +01:00
yarn.lock compose demo 2017-05-11 16:31:14 +01:00

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
  `
});

todo

  • proper flow support

license

Apache-2.0