Expose user rate limits through the API

This commit is contained in:
astronaut808
2026-05-13 16:35:40 +05:00
parent 7a284623d6
commit 8895947414
6 changed files with 183 additions and 2 deletions

View File

@@ -254,6 +254,16 @@ docker compose down
> - `docker-compose.yml` maps `./config.toml` to `/app/config.toml` (read-only)
> - By default it publishes `443:443` and runs with dropped capabilities (only `NET_BIND_SERVICE` is added)
> - If you really need host networking (usually only for some IPv6 setups) uncomment `network_mode: host`
> - If you enable mutating Control API endpoints, mount a writable config directory instead of a single `config.toml` file. Telemt persists config changes with atomic `tmp + rename` writes, and a single bind-mounted file can fail with `Device or resource busy`.
Example writable config mount for Control API mutations:
```yaml
services:
telemt:
volumes:
- ./telemt-config:/run/telemt:rw
command: /usr/local/bin/telemt /run/telemt/config.toml
```
**Run without Compose**
```bash