mirror of
https://github.com/danbulant/docker-compose
synced 2026-06-14 04:01:21 +00:00
Add port to supported commands
This commit is contained in:
parent
483e6827ad
commit
ceb7ed6510
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ npm install --save-dev docker-compose
|
|||
* `config(options)` - Validates configuration files and returns configuration yaml
|
||||
* `configServices(options)` - Returns list of services defined in configuration files
|
||||
* `configVolumes(options)` - Returns list of volumes defined in configuration files
|
||||
* `port(options)` - Returns the public port of the given service and internal port.
|
||||
|
||||
All commands return a `Promise({object})` with stdout and stderr strings and an exit code:
|
||||
```javascript
|
||||
|
|
|
|||
Loading…
Reference in a new issue