joyent-portal/spikes/compose-demo/vendor/docker-compose-client
Sérgio Ramos fd19fff435 compose demo
2017-05-11 16:42:55 +01:00
..
dist compose demo 2017-05-11 16:42:55 +01:00
flow-typed/npm compose demo 2017-05-11 16:42:55 +01:00
scripts compose demo 2017-05-11 16:42:55 +01:00
src compose demo 2017-05-11 16:42:55 +01:00
test compose demo 2017-05-11 16:42:55 +01:00
.babelrc compose demo 2017-05-11 16:42:55 +01:00
.eslintrc compose demo 2017-05-11 16:42:55 +01:00
.flowconfig compose demo 2017-05-11 16:42:55 +01:00
package.json compose demo 2017-05-11 16:42:55 +01:00
readme.md compose demo 2017-05-11 16:42:55 +01:00
yarn.lock compose demo 2017-05-11 16:42:55 +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