Skip to content

Commit 2f99645

Browse files
ahkuibestlong
authored andcommitted
Add Redis webui (laradock#1688)
* add redis webui * Update env-example * depends on redis
1 parent 1823060 commit 2f99645

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,21 @@ services:
743743
networks:
744744
- backend
745745

746+
### PHPRedisAdmin ################################################
747+
phpredisadmin:
748+
image: erikdubbelboer/phpredisadmin:latest
749+
environment:
750+
- ADMIN_USER=${REDIS_WEBUI_USERNAME}
751+
- ADMIN_PASS=${REDIS_WEBUI_PASSWORD}
752+
- REDIS_1_HOST=${REDIS_WEBUI_CONNECT_HOST}
753+
- REDIS_1_PORT=${REDIS_WEBUI_CONNECT_PORT}
754+
networks:
755+
- backend
756+
ports:
757+
- "${REDIS_WEBUI_PORT}:80"
758+
depends_on:
759+
- redis
760+
746761
### MongoWebUI ################################################
747762
mongo-webui:
748763
build:

env-example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,13 @@ SOLR_DATAIMPORTHANDLER_MYSQL=false
363363
### NETDATA ###############################################
364364
NETDATA_PORT=19999
365365

366+
### PHPREDISADMIN #########################################
367+
REDIS_WEBUI_USERNAME=laradock
368+
REDIS_WEBUI_PASSWORD=laradock
369+
REDIS_WEBUI_CONNECT_HOST=redis
370+
REDIS_WEBUI_CONNECT_PORT=6379
371+
REDIS_WEBUI_PORT=9987
372+
366373
### MONGOWEBUI ###############################################
367374
MONGO_WEBUI_PORT=3000
368375
MONGO_WEBUI_ROOT_URL=http://localhost

0 commit comments

Comments
 (0)