Skip to content

Commit

Permalink
docs: add configuration options
Browse files Browse the repository at this point in the history
Fixes #88
  • Loading branch information
Erb3 committed Aug 21, 2024
1 parent b9057ac commit 09fb488
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ cargo shuttle deploy

## Configuration

The server uses the following environmental variables, and can also be passed as cli args.

- `SVEIO_PORT`: The port to serve on. Defaults to `8085`.
| Name | Description | Env | Flag | Default |
| ------------- | ---------------------------------- | --------------------- | ----------------- | ------- |
| Port | The HTTP port to listen to | `SVEIO_PORT` | `-p` | 8085 |
| Logging | Logging level | `SVEIO_LOGGING_LEVEL` | `-l` | info |
| Guess time | Amount of seconds allowed to guess | `SVEIO_GUESS_TIME` | `--guess-time` | 7 |
| Showcase time | Amount of seconds to show markers | `SVEIO_SHOWCASE_TIME` | `--showcase-time` | 3 |

For more information please run `sveio -h`.

Expand Down

0 comments on commit 09fb488

Please sign in to comment.