Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Nov 23, 2018
1 parent 4da0b3b commit 9c60fe8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 0 additions & 4 deletions website/content/operations/_index.md

This file was deleted.

2 changes: 2 additions & 0 deletions website/content/pro/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ This executor needs a recent version of docker to be available and configured in
To run a docker job create a job config with the docker executor as in this example:

```json
{
"executor": "docker",
"executor_config": {
"image": "alpine", //docker image to use
"volumes": "/logs:/var/log/", //comma separated list of volume mappings
"command": "echo \"Hello from dkron\"", //command to pass to run on container
"env": "ENVIRONMENT=variable" //environment variables to pass to the container
}
}
```
2 changes: 2 additions & 0 deletions website/content/pro/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ The output logs of the job execution will be stored in the indicated ES instace.
## Configuration

```json
{
"processors": {
"elasticsearch": {
"url": "http://localhost:9200", //comma separated list of Elasticsearch hosts urls (default: http://localhost:9200)
"index": "dkron_logs", //desired index name (default: dkron_logs)
"forward": "false" //forward logs to the next processor (default: false)
}
}
}
```
2 changes: 2 additions & 0 deletions website/content/pro/email.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ Then configure each job with the following options:
Example:
```json
{
"processors": {
"email": {
"provider": "provider1",
"emails": "team@mycompany.com, owner@mycompany.com",
"onSuccess": true
}
}
}
```

By default the email procesor doesn't send emails on job success, the `onSuccess` parameter, enables it, like in the previous example.

0 comments on commit 9c60fe8

Please sign in to comment.