redis开发环境快速部署项目
https://gitee.com/lmk73444/deploy_redis
效果图
readme
部署服务
docker compose up -d # or 如果你使用的 不是 官网的 docker 而是 社区版本的docker # docker-compose up -d
访问
redis server
26379
user default
passwd c0fe91d7d275420d93bffda45990dfdb
redis web
ip:28001
docker-compose.yml
version: "3.8" services: redis-single: image: redis/redis-stack ports: - "28001:8001" - "26379:6379" environment: - TZ=Asia/Shanghai volumes: - "./redis-stack.conf:/redis-stack.conf" entrypoint: ["/entrypoint.sh"] command: []
redis-stack.conf
protected-mode yes bind * -::* port 6379 # passwd c0fe91d7d275420d93bffda45990dfdb user default on #e701c5a15e5aff93c5ce43365e4c99f8be4bdb57c3aaab26e32273d4bf38c61e ~* &* +@all timeout 0 tcp-keepalive 600 loglevel verbose # redis stack daemonize no