docs: add Redis socket variable to environment variables documentation and remove HWID section

This commit is contained in:
kastov
2025-12-08 06:48:14 +03:00
parent d64193cb14
commit 8f8c016036

View File

@@ -77,6 +77,7 @@ API_INSTANCES=1
| `REDIS_PORT` | The port of the Redis server | `6379` | Yes |
| `REDIS_DB` | The database of the Redis server | `0` | No |
| `REDIS_PASSWORD` | The password of the Redis server | | No |
| `REDIS_SOCKET` | The socket of the Redis server | | No |
<details>
<summary>Example</summary>
@@ -372,25 +373,6 @@ NOT_CONNECTED_USERS_NOTIFICATIONS_AFTER_HOURS=[6, 24, 48]
</details>
## HWID
| Variable | Description | Default |
| ---------------------------- | ---------------------------------------------------------------------------------------- | ------- |
| `HWID_DEVICE_LIMIT_ENABLED` | Enable/Disable Global HWID device limit | `false` |
| `HWID_FALLBACK_DEVICE_LIMIT` | The fallback number of devices allowed per user | |
| `HWID_MAX_DEVICES_ANNOUNCE` | Annonunce message when max devices are reached or HWID is not sent by client application | |
<details>
<summary>Example</summary>
```bash title=".env file"
HWID_DEVICE_LIMIT_ENABLED=true
HWID_FALLBACK_DEVICE_LIMIT=10
HWID_MAX_DEVICES_ANNOUNCE="Max devices reached"
```
</details>
## Miscellaneous
| Variable | Description | Default |