File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ DNMP 可以构建出基于 Docker 的 PHP 开发环境,其优势有在短时
15
15
* PHP74:php-fpm 7.4.x ` composer:2.1.3 swoole:4.6.7 redis:5.3.4 `
16
16
* PHP8:php-fpm 8.0.x ` composer:2.1.3 swoole:4.6.7 redis:5.3.4 `
17
17
* MySQL:5.7
18
- * Redis:latest
18
+ * Redis:latest ` 默认密码:dnmp `
19
19
* ~~ ElasticSearch:7.1.1~~
20
20
21
21
### 目录结构
@@ -50,7 +50,7 @@ DNMP 可以构建出基于 Docker 的 PHP 开发环境,其优势有在短时
50
50
# 构建单个镜像
51
51
sudo docker-compose build --no-cache [nginx|php56|php74|php8 ...]
52
52
53
- > 📢:注意!! dnmp部署完成后,需要修改redis服务的密码` config/redis/redis.conf 设置 requirepass 你的密码 ` 。(否则redis允许公网任意人员访问)
53
+ > 📢 注意: dnmp部署完成后,需要修改redis服务的密码` config/redis/redis.conf 设置 requirepass dnmp(替换成你自己的密码) `
54
54
55
55
启动成功访问 http://localhost 即可
56
56
Original file line number Diff line number Diff line change @@ -498,6 +498,7 @@ slave-priority 100
498
498
# use a very strong password otherwise it will be very easy to break.
499
499
#
500
500
# requirepass foobared
501
+ requirepass dnmp
501
502
502
503
# Command renaming.
503
504
#
You can’t perform that action at this time.
0 commit comments