mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-09-08 09:12:23 +02:00
docs: README changes
This commit is contained in:
parent
38db97bdcf
commit
17ca2cff1b
1 changed files with 12 additions and 9 deletions
21
README.md
21
README.md
|
@ -27,15 +27,18 @@ services:
|
||||||
|
|
||||||
## Running on Linux
|
## Running on Linux
|
||||||
|
|
||||||
Grab a release from the [releases page](https://github.com/watn3y/steamsalty/releases). Make sure to set your **environment variables** accordingly.
|
Grab a release from the [releases page](https://github.com/watn3y/steamsalty/releases). Make sure to set your [environment variables](#environment-variables) accordingly.
|
||||||
|
|
||||||
## Environment Variables
|
## Environment Variables
|
||||||
|
|
||||||
| Variable | Description | Default |
|
> [!NOTE]
|
||||||
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------| ------------------ |
|
> For development purposes, SteamSalty supports loading environment variables from a .env file placed in the project root directory.
|
||||||
| `STEAMSALTY_LOGLEVEL` | LogLevel as described [in the zerolog documentation](https://pkg.go.dev/github.com/rs/zerolog@v1.34.0#readme-simple-leveled-logging-example) | 1 (Info) |
|
|
||||||
| `STEAMSALTY_TELEGRAMAPITOKEN` | Telegram Bot Token, get from @BotFather | None, **required** |
|
| Variable | Description | Default | Required |
|
||||||
| `STEAMSALTY_STEAMAPIKEY` | Steam API Key, get from [steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey) | None, **required** |
|
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------| ------------------ | -------------- |
|
||||||
| `STEAMSALTY_CHATID` | Chat to notify about new Comments | None, **required** |
|
| `STEAMSALTY_LOGLEVEL` | LogLevel as described [in the zerolog documentation](https://pkg.go.dev/github.com/rs/zerolog@v1.34.0#readme-simple-leveled-logging-example) | 1 (Info) | ❌ |
|
||||||
| `STEAMSALTY_WATCHERS` | SteamIDs (in SteamID64 format) to check for new Profile Comments | None, **required** |
|
| `STEAMSALTY_TELEGRAMAPITOKEN` | Telegram BotToken, get it from [@BotFather on Telegram](https://t.me/BotFather) | None | ✅ |
|
||||||
| `STEAMSALTY_SLEEPINTERVAL` | Amount of time to wait between requests to Steam in seconds | 60 |
|
| `STEAMSALTY_STEAMAPIKEY` | Steam API Key, get it from [steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey) | None | ✅ |
|
||||||
|
| `STEAMSALTY_CHATID` | Chat to notify about new comments | None | ✅ |
|
||||||
|
| `STEAMSALTY_WATCHERS` | SteamIDs (in SteamID64 format) to check for new profile comments | None | ✅ |
|
||||||
|
| `STEAMSALTY_SLEEPINTERVAL` | Amount of time to wait between requests to Steam in seconds | 60 | ❌ |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue