RiftRelay can be installed in several ways depending on your needs. Choose the method that best fits your environment.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/renja-g/RiftRelay/llms.txt
Use this file to discover all available pages before exploring further.
Docker (recommended)
The easiest way to run RiftRelay is using Docker with the automated setup script:Manual Docker run
If you prefer to run Docker manually:Replace
your-riot-token with your actual Riot API token from the Riot Developer PortalDocker Compose
For production deployments or if you need more control, use Docker Compose.Create docker-compose.yml
Create a
docker-compose.yml file with the following content:docker-compose.yml
This configuration includes security hardening with read-only filesystem, dropped capabilities, and health checks
Start the service
Start RiftRelay using Docker Compose:Check the logs to verify it started successfully:
From source
If you want to run RiftRelay from source or contribute to development:Environment variables
RiftRelay is configured entirely through environment variables. The only required variable isRIOT_TOKEN.
Required
| Variable | Description | Example |
|---|---|---|
RIOT_TOKEN | Your Riot API token(s) | RGAPI-xxxxx or token1,token2,token3 |
Common settings
| Variable | Default | Description |
|---|---|---|
PORT | 8985 | Server port |
QUEUE_CAPACITY | 2048 | Maximum queued requests |
ADMISSION_TIMEOUT | 5m | Max wait time in queue |
SHUTDOWN_TIMEOUT | 20s | Graceful shutdown timeout |
ENABLE_METRICS | false | Enable /metrics endpoint |
ENABLE_PPROF | false | Enable pprof endpoints |
ENABLE_SWAGGER | true | Enable Swagger UI at /swagger/ |
Multiple tokens
To increase your rate limits, you can provide multiple Riot API tokens as comma-separated values:.env file:
.env
Port configuration
By default, RiftRelay runs on port8985. To change this:
With Docker:
Verify installation
After installation, verify RiftRelay is working correctly:Next steps
Quickstart guide
Learn how to make your first requests through RiftRelay
Configuration
Explore advanced configuration options and tuning
API reference
View all available endpoints and headers
Metrics
Set up Prometheus metrics for production monitoring