joyent-portal/spikes/docker-compose-client
2017-05-11 16:31:14 +01:00
..
dist docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
flow-typed/npm docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
scripts docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
src docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
test docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
.babelrc docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
.eslintrc docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
.flowconfig docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
package.json docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
readme.md docker-compose-client initial implementation 2017-05-11 16:31:14 +01:00
yarn.lock docker-compose-client initial implementation 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