1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/spikes/docker-compose-client
2017-05-11 16:39:55 +01:00
..
dist docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
flow-typed/npm docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
scripts docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
src docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
test docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
.babelrc docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
.eslintrc docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
.flowconfig docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
package.json docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
readme.md docker-compose-client initial implementation 2017-05-11 16:39:55 +01:00
yarn.lock docker-compose-client initial implementation 2017-05-11 16:39: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