mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 15:20:06 +02:00
27 lines
359 B
Markdown
27 lines
359 B
Markdown
|
# docker-compose-client
|
||
|
|
||
|
## usage
|
||
|
|
||
|
```js
|
||
|
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
|