Constructor
new DockerCompose(filePath, projectName, host)
Parameters:
Name | Type | Description |
---|---|---|
filePath |
string | The path to the docker compose file |
projectName |
string | The name of the compose project !optional |
host |
string | The host docker machine !optional |
- Source:
Methods
down() → {promise}
- Source:
Returns:
- Type
- promise
rm() → {promise}
- Source:
Returns:
- Type
- promise
scale() → {promise}
- Source:
Returns:
- Type
- promise
start() → {promise}
- Source:
Returns:
- Type
- promise
stop() → {promise}
- Source:
Returns:
- Type
- promise
up() → {promise}
- Source:
Returns:
- Type
- promise