phpRedisAdmin is a simple web interface to manage Redis databases. It is released under the Creative Commons Attribution 3.0 license. This code is being developed and maintained by Erik Dubbelboer.
You can send comments, patches, questions here on github or to erik@dubbelboer.com.
You can find an example database at http://dubbelboer.com/phpRedisAdmin/
To install phpRedisAdmin through composer you need to execute the following commands:
curl -s http://getcomposer.org/installer | php
php composer.phar create-project -s dev erik-dubbelboer/php-redis-admin path/to/install
You may also want to copy includes/config.sample.inc.php to includes/config.inc.php and edit it with your specific redis configuration.
Instead of using composer, you can also do a manual install using:
git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git
cd phpRedisAdmin
git clone https://github.com/nrk/predis.git vendor
A public phpRedisAdmin Docker image is available on Docker Hub automatically built from latest source.
The file includes/config.environment.inc.php
is used as the configuration file to allow environment variables to be used as configuration values.
Example:
docker run --rm -it -e REDIS_1_HOST=myredis.host -e REDIS_1_NAME=MyRedis -p 80:80 erikdubbelboer/phpredisadmin
Also, a Docker Compose manifest with a stack for testing and development is provided. Just issue docker-compose up --build
to start it and browse to http://localhost. See docker-compose.yml
file for configuration details.
REDIS_1_HOST
- define host of the Redis serverREDIS_1_NAME
- define name of the Redis serverREDIS_1_PORT
- define port of the Redis serverREDIS_1_AUTH
- define password of the Redis serverADMIN_USER
- define username for user-facing Basic AuthADMIN_PASS
- define password for user-facing Basic AuthIcons by http://p.yusukekamiyamane.com/ (https://github.com/yusukekamiyamane/fugue-icons/tree/master/icons-shadowless)
Favicon from https://github.com/antirez/redis-io/blob/master/public/images/favicon.png
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。