Skip to content

Commit

Permalink
docs: fix configuration sample
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Dec 1, 2017
1 parent 1db058b commit fc9feaa
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ Optionally install it locally, to pin down versions if required.


## Configuration

Configuration of DOPR can be done either via `package.json` under the `dopr` key or with a provided file defaulting to `docker-project.json`.

Default configuration
Sample configuration (based on [default configuration](./src/defaulConfig.json)):

```json
{
"file": ["./docker/docker-compose.yml"],
Expand All @@ -48,14 +49,14 @@ Default configuration
"exec": false
},
"bash": "%action% %args%",
"composer": "composer %action% %args%",
"composer": "%action% %args%",
"node": {
"command": "node %action% %args%",
"command": "%action% %args%",
"user": "node"
},
"npm": "npm %action% %args%",
"git": "git %action% %args%",
"yarn": "yarn %action% %args%",
"npm": "%action% %args%",
"git": "%action% %args%",
"yarn": "%action% %args%",
"multiple-cmd": {
"command": ["echo multiple command as array", "@nested-cmd arg1 arg2"]
},
Expand Down

0 comments on commit fc9feaa

Please sign in to comment.