Skip to content

Commit

Permalink
Updated README.md with the new options
Browse files Browse the repository at this point in the history
  • Loading branch information
ogarcia committed Jun 29, 2017
1 parent 17c5972 commit 349a77a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,21 @@ sysdweb
```

By default sysdweb listen in 10080 port to 127.0.0.1, you can change listen
port and address with `-p` and `-l`.
port and address with `-p` and `-l` or via environment variables.

```sh
sysdweb -p 9080 -l 0.0.0.0
```

Current config environment variables are the following.

| Variable | Description |
| --- | --- |
| `SYSDWEB_CONFIG` | Config file location |
| `SYSDWEB_HOST` | Listen address |
| `SYSDWEB_PORT` | Listen port |
| `SYSDWEB_LOGLEVEL` | Log level, effective values are `WARNING`, `INFO` and `DEBUG` |

## API

You can control configured services via REST API, for example, with curl.
Expand Down

0 comments on commit 349a77a

Please sign in to comment.