ADD env variables section in README

This commit is contained in:
Caffeine Fueled 2025-09-20 19:12:28 +02:00
parent 05cb90a9c7
commit 072409b3b4
Signed by: cf7
GPG key ID: CA295D643074C68C

View file

@ -46,6 +46,20 @@ ip -br a | curl -X POST https://aukpad.com --data-binary @- # command output
## 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
---