Browse Source

Updated README.md with the new options

Óscar García Amor 3 years ago
parent
commit
349a77a391
1 changed files with 10 additions and 1 deletions
  1. 10 1
      README.md

+ 10 - 1
README.md

@@ -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.