1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/docker-compose-client
Sérgio Ramos cf737aa2e7 integrate docker-compose-api into portal-data (#451)
this might break tests for now
2017-05-16 10:54:39 -05:00
..
dist integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
flow-typed/npm integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
scripts integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
src integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
test integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
.babelrc integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
.eslintrc integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
.flowconfig integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
package.json integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
readme.md integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
yarn.lock integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05: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