rq-dashboard-fast is a FastAPI-based dashboard to monitor your Redis-Queue (RQ) Jobs, Queues, and Workers
Project description
RQ Dashboard FastAPI 🛠
RQ Dashboard FastAPI
is a general purpose, lightweight FastAPI-based web frontend to monitor your RQ queues, jobs, and workers in real-time.
Example Usage
from fastapi import FastAPI
from rq_dashboard_fast import RedisQueueDashboard
import uvicorn
app = FastAPI()
dashboard = RedisQueueDashboard(“redis://redis:6379/”, "/rq")
app.mount(“/rq”, dashboard)
if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8000)
Access the Dashboard at
http://127.0.0.1:8000/rq
Installing from PyPi
$ pip install rq-dashboard-fast
Running in Docker
- You can run the RQ Dashboard FastAPI as a Docker container with custom Redis URL:
docker run -e REDIS_URL=<your_redis_url> hannes221/rq-dashboard-fast
Access the Dashboard at
http://127.0.0.1:8000/rq
To change change the port, you can specify the following flag:
docker run -e REDIS_URL=<your_redis_url> -e FASTAPI_PORT=<your_fastapi_port> hannes221/rq-dashboard-fast
Replace <your_fastapi_port> with your desired FastAPI and host port.
- You can use Docker Compose by creating a docker-compose.yml file:
version: '3.11'
services:
dashboard:
image: hannes221/rq-dashboard-fast
ports:
- '8000:8000'
environment:
- REDIS_URL=<your_redis_url>
Then run:
docker compose up
Access the Dashboard at
http://127.0.0.1:8000/rq
To change the part update the compsoe file:
version: '3.11'
services:
dashboard:
image: hannes221/rq-dashboard-fast
ports:
- '<your_fastapi_port>:<your_fastapi_port>'
environment:
- REDIS_URL=<your_redis_url>
- FASTAPI_PORT=<your_fastapi_port>
Replace <your_fastapi_port> with your desired FastAPI and host port.
Docker Hub: hannes221/rq-dashboard-fast
Github Repository
Github: rq-dashboard-fast
$ pip install rq-dashboard-fast
Planned Features
- Data from rq-scheduler
- More data about workers
- Docker Image
- Run Standalone (Terminal)
- Add pagination to jobs page
Contributing
If you want to contribute, reach out or create a PR directly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rq_dashboard_fast-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab5322df3c4fffc737f6c835079f4876f9a621aa486ec5edc8a2edf343444e6f |
|
MD5 | 75b7dcbcf68a4bb330609da3b4e32f68 |
|
BLAKE2b-256 | b8ad3af26d8cc7340542e9d5550d66ea21f52d40ad85bd8e6391fc0f39f714d1 |