Sign inSign up

l33tlamer/redis-stats

By l33tlamer

•Updated 4 months ago
Archived

A lightweight dashboard to show statistics about a Redis server.

Image
0

1.4K

l33tlamer/redis-stats repository overview

This repo has been archived. Please consider using l33tlamer/valkeystats⁠ instead.


⁠redis-stats

⁠This is a fork of tessus/redis-stats⁠ using trafex/docker-php-nginx⁠ as base.

  • Platforms: armv6, armv7, arm64 and amd64
  • Multiarch image, Docker should automatically pull the correct platform
  • Image is not auto-built but manually triggered only when updates have been done
  • Pull from the Docker Hub repo⁠ with docker pull docker.io/l33tlamer/redis-stats:latest

You 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 .

Tag summary

Content type

Image

Digest

sha256:917aadc52…

Size

40.5 MB

Last updated

4 months ago

docker pull l33tlamer/redis-stats