{"id":50939975,"url":"https://github.com/l33tlamer/valkeystats","last_synced_at":"2026-06-17T13:03:10.129Z","repository":{"id":362966545,"uuid":"1261444104","full_name":"l33tlamer/valkeystats","owner":"l33tlamer","description":"Simple Docker image for Valkey stats","archived":false,"fork":false,"pushed_at":"2026-06-06T18:16:46.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-06T20:10:51.215Z","etag":null,"topics":["docker-image","redis","valkey"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/l33tlamer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-06T17:35:14.000Z","updated_at":"2026-06-06T18:16:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/l33tlamer/valkeystats","commit_stats":null,"previous_names":["l33tlamer/valkeystats"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/l33tlamer/valkeystats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33tlamer%2Fvalkeystats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33tlamer%2Fvalkeystats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33tlamer%2Fvalkeystats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33tlamer%2Fvalkeystats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l33tlamer","download_url":"https://codeload.github.com/l33tlamer/valkeystats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33tlamer%2Fvalkeystats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34449283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","redis","valkey"],"created_at":"2026-06-17T13:03:09.223Z","updated_at":"2026-06-17T13:03:10.124Z","avatar_url":"https://github.com/l33tlamer.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# valkeystats\n\n[\u003cimg src=\"screenshot.png\" width=\"450\"/\u003e](screenshot.png)\n\n**Disclaimer**: This is a fork of **[tessus/valkey-stats](https://github.com/tessus/valkey-stats)** and provides a Docker image using **[Trafex/docker-php-nginx](https://github.com/TrafeX/docker-php-nginx)**.\n\n* Ready-to-use image is available from the **[Docker Hub](https://hub.docker.com/r/l33tlamer/valkeystats)** registry. Currently `amd64` only.\n\n* When used without environment variables or config file, a default of `localhost:6379` will try to be used.\n\n* For a single Valkey/Redis instance, supply the environment variables `VALKEY_NAME`, `VALKEY_HOST` and `VALKEY_PORT` to overwrite the defaults.\n\n* For multiple instances, do NOT use the variables but instead mount `config.php` to `/var/www/html/config.php` in the container.\n\n* The template for `config.php` file can be downloaded from the repo here or copied out of a running container:\n* * `docker cp valkeystats:/var/www/html/config.template.php ./config.php`\n\n* Edit the config file to list **multiple Valkey/Redis instances**, examples are also provided for usage with **socket**, and **user/password**.\n\nUsage examples:\n\n* `docker run -d --name valkeystats -p 8080:8080 l33tlamer/valkeystats`\n\n* `docker run -d --name valkeystats -e -e VALKEY_NAME=Valkey VALKEY_HOST=192.168.20.50 -e VALKEY_PORT=6379 -p 8080:8080 l33tlamer/valkeystats`\n\n* `docker run -d --name valkeystats -v config.php:/var/www/html/config.php -p 8080:8080 l33tlamer/valkeystats`\n\n* For Docker Compose a `docker-compose.example.yml` file exists in the root of this repo.\n\n\n*From the original valkey-stats the update-checker and footer have been removed.*\n\n___\n\n# The following is the original README:\n\n# valkey-stats\n\n## Features\n\n- lightweight\n- no PHP valkey/redis module required\n- tls support (PHP valkey/redis module required)\n- connection via IP/hostname/port or socket\n- password support (including Valkey/Redis 6 ACLs)\n- show details\n- flush database (async support)\n- flush instance (async support)\n- command mapping support (when rename-command is used on the server)\n- auto refresh\n- check for update\n\n## Installation\n\n```bash\ngit clone --depth 1 https://github.com/tessus/valkey-stats.git\ncd valkey-stats\ncp config.template.php config.php\n```\n\n## Configuration\n\n### Server information\n\nServers are defined as an array. There are a few examples in the `config.template.php` file.\n\nField     | Type          | Description\n----------|---------------|------------------------------------------------------------------------------\nName      | string        | name shown in drop-down list (also used for tls options and command mapping)\nIP/Socket | string        | IP address, hostname, or socket (`unix://`) of the server\nPort      | integer       | port of server, use -1 for socket\nPassword  | string, array | credentials for the server (optional)\u003cbr\u003estring: `password`\u003cbr\u003earray: `['user', 'password']` for Valkey/Redis ACLs\n\ne.g.:\n\n```php\n$servers = [\n        [ 'Local', '127.0.0.1', 6379 ],\n        [ 'Local socket', 'unix:///var/run/valkey.sock', -1 ],\n        [ 'Local with password', '127.0.0.1', 6379, 'password_here' ],\n        [ 'Local with user and password', '127.0.0.1', 6379, ['username', 'password_here'] ],\n        [ 'TLS connection with user and password', 'tls://localhost', 6379, ['username', 'password_here'] ],\n];\n```\n\n### TLS configuration\n\nIf an IP address or hostname starts with `tls://`, a TLS context is created for that connection.\nThe `default-options` apply to all TLS connections and can be overridden by connection specific options.\n\nFor a list of possible options, please have a look at the [SSL context options](https://www.php.net/manual/en/context.ssl.php#refsect1-context.ssl-options) in the PHP manual.\n\n```php\n$tls = [\n        'default-options' =\u003e [ // these are the default TLS options\n                'verify_peer'       =\u003e true,\n                'verify_peer_name'  =\u003e true,\n                'allow_self_signed' =\u003e false,\n        ],\n        'TLS connection with user and password' =\u003e [ // must be a server name (first field in server array, name shown in drop-down list)\n                'local_cert' =\u003e '/path/to/client.pem',\n                'local_pk'   =\u003e '/path/to/clientkey.pem',\n                'cafile'     =\u003e '/path/to/cacert.crt'\n        ]\n];\n```\n\n### Misc options\n\nName                 | Default   | Description\n---------------------|-----------|---------------------------------------------------------------\nFLUSHDB              | true      | Show a 'Flush' button for databases\nCONFIRM_FLUSHDB      | true      | Ask for confirmation before flushing database\nFLUSHALL             | true      | Show a 'Flush All' button for the instance\nCONFIRM_FLUSHALL     | true      | Ask for confirmation before flushing the entire instance\nSTATUS_LINE          | \"bottom\"  | Position of status line: \"bottom\" or \"top\"\nCHECK_FOR_UPDATE     | true      | Show a 'Check for update' button\nUSE_MODULE_IF_LOADED | true      | Use the php extension, if loaded\nDEBUG                | false     | debug mode - you don't want to set this to true!\n\n### Command mapping\n\nIn case commands have been renamed on the server, there's support to map these commands in the config file.\nPlease note that this has been deprecated for years and is not supported when using the extension (module).\n\ne.g.:\n\n```php\n$command = [\n        'Local'    =\u003e [ // must be a server name (first field in server array, name shown in drop-down list)\n                'FLUSHDB'  =\u003e 'fdb-5dea06694ff64',\n                'FLUSHALL' =\u003e 'fa-5dea067c9bbd6',\n                'AUTH'     =\u003e '',\n                'INFO'     =\u003e '',\n        ],\n];\n```\n\n## Screenshot\n\n![Screenshot](https://evermeet.cx/pub/img/valkey-stats.png)\n\n## Acknowledgements\n\nI found the original script at \u003chttps://gist.github.com/kabel/10023961\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl33tlamer%2Fvalkeystats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl33tlamer%2Fvalkeystats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl33tlamer%2Fvalkeystats/lists"}