From cb13642e85a9d572d6f88f6ce7e3d7b0893dd713 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期五, 13 八月 2021 21:09:24 +0800
Subject: [PATCH] update 重写 OSS 模块相关实现 支持动态配置(页面配置)
---
docker/deploy.sh | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/docker/deploy.sh b/docker/deploy.sh
index 3b6e696..79fb9ae 100644
--- a/docker/deploy.sh
+++ b/docker/deploy.sh
@@ -6,10 +6,17 @@
exit 1
}
-#寮�鍚墍闇�绔彛
+#寮�鍚墍闇�绔彛(鐢熶骇鐜涓嶆帹鑽愬紑鍚�)
port(){
+ # mysql 绔彛
firewall-cmd --add-port=3306/tcp --permanent
+ # redis 绔彛
firewall-cmd --add-port=6379/tcp --permanent
+ # minio api 绔彛
+ firewall-cmd --add-port=9000/tcp --permanent
+ # minio 鎺у埗鍙扮鍙�
+ firewall-cmd --add-port=9001/tcp --permanent
+ # 閲嶅惎闃茬伀澧�
service firewalld restart
}
@@ -24,7 +31,7 @@
#鍚姩鍩虹妯″潡
base(){
- docker-compose up -d mysql nginx-web redis
+ docker-compose up -d mysql nginx-web redis minio
}
#鍚姩鍩虹妯″潡
--
Gitblit v1.9.3