ADD env variables section in README
This commit is contained in:
parent
05cb90a9c7
commit
072409b3b4
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -46,6 +46,20 @@ ip -br a | curl -X POST https://aukpad.com --data-binary @- # command output
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
### Environment Variables
|
||||||
|
|
||||||
|
The following environment variables can be configured:
|
||||||
|
|
||||||
|
| Variable | Default | Description |
|
||||||
|
|----------|---------|-------------|
|
||||||
|
| `USE_VALKEY` | `false` | Enable Valkey/Redis caching. Set to `true` to enable |
|
||||||
|
| `VALKEY_URL` | `redis://localhost:6379/0` | Redis/Valkey connection URL |
|
||||||
|
| `MAX_TEXT_SIZE` | `1048576` | Maximum text size in bytes (1MB default) |
|
||||||
|
| `MAX_CONNECTIONS_PER_IP` | `10` | Maximum concurrent connections per IP address |
|
||||||
|
| `RETENTION_HOURS` | `48` | How long to retain pads in hours (48 hours default) |
|
||||||
|
|
||||||
|
### Running
|
||||||
|
|
||||||
WORK IN PROGRESS
|
WORK IN PROGRESS
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue