A lightweight dashboard to show statistics about a Redis server.
1.4K
This repo has been archived. Please consider using l33tlamer/valkeystats instead.
armv6, armv7, arm64 and amd64docker pull docker.io/l33tlamer/redis-stats:latestYou should provide your Redis instance info either through environment variables (single instance only) or through config file (multiple instances possible).
Without either, a default of 127.0.0.1:6379 will be used.
You can download a template config from the Github repo or copy it out of the container: docker cp redis-stats:/var/www/html/config.template.php ./config.php
Usage examples:
docker run -d --name redis-stats -p 8080:8080 l33tlamer/redis-stats
docker run -d --name redis-stats -e -e REDIS_NAME=Redis REDIS_HOST=192.168.20.50 -e REDIS_PORT=6379 -p 8080:8080 l33tlamer/redis-stats
docker run -d --name redis-stats -v config.php:/var/www/html/config.php -p 8080:8080 l33tlamer/redis-stats
For a example docker-compose.yml file and more details, see github.com/l33tlamer/redis-stats.
Dockerfile used:
FROM trafex/php-nginx:3.4.0
WORKDIR /var/www/html
USER nobody
COPY --chown=nobody ./ /var/www/html
EXPOSE 8080
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:8080/fpm-ping
Built with: docker buildx build --push --no-cache --platform linux/amd64 --tag docker.io/l33tlamer/redis-stats:latest .
Content type
Image
Digest
sha256:917aadc52…
Size
40.5 MB
Last updated
4 months ago
docker pull l33tlamer/redis-stats