mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-19 12:28:43 +00:00
docs(readme): fix example
This commit is contained in:
parent
7b01ec7ef9
commit
8f32f30da6
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ All commands return a `Promise({object})` with an stdout and stderr strings
|
|||
To start containers based on the `docker-compose.yml` file in your current directory, just call `compose.up` like this:
|
||||
|
||||
```javascript
|
||||
compose.up({ cwd: path.join(__dirname), log: true })
|
||||
compose.upAll({ cwd: path.join(__dirname), log: true })
|
||||
.then(
|
||||
() => { console.log('done')},
|
||||
err => { console.log('something went wrong:', err.message)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue