Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setup-manager
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
setup-manager
Commits
6ef973a1
Commit
6ef973a1
authored
Nov 21, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加php健康度检测
parent
cd78c6c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
setup.sh
setup.sh
+5
-2
No files found.
setup.sh
View file @
6ef973a1
...
...
@@ -306,7 +306,7 @@ setup_rabbitmq() {
writelog
"docker 加载rabbitmq镜像中。。。。"
docker load <
${
BASEDIR
}
/soft/
${
RABBITMQ
}
/rabbitmq.tar
writelog
"创建容器并启动中。。。"
docker run
-d
--restart
=
always
--name
rabbitmq
-p
5672:5672
-p
15674:15674
-p
15672:15672
4ec067de45e
0
docker run
-d
--restart
=
always
--name
rabbitmq
-p
5672:5672
-p
15674:15674
-p
15672:15672
rabbitmq:v3.1
0
writelog
"容器启动都完成,初始化插件"
docker
exec
-i
rabbitmq /bin/bash
-c
'rabbitmq-plugins enable rabbitmq_management&&rabbitmq-plugins enable rabbitmq_web_stomp rabbitmq_web_stomp_examples'
writelog
"容器重新启动..."
...
...
@@ -492,6 +492,8 @@ init_deploy() {
writelog
"创建文件目录完成"
writelog
"解压资源文件..."
tar
-xvf
$BASEDIR
/release/resource/mortals.tar.gz
-C
/
chmod
-R
755 /mortals
writelog
"解压资源文件完成"
}
...
...
@@ -712,7 +714,6 @@ program_deploy() {
}
project_deploy
()
{
init_deploy
#初始化文件目录部分
nacos_deploy
#nacos部署
setup_project_deploy
#项目部署平台
project_ui_deploy
#项目部署平台ui
...
...
@@ -955,6 +956,8 @@ main() {
writelog
"文件夹存在"
fi
init_deploy
#初始化文件目录部分
#获取参数
while
getopts
h:P:u:p opt
;
do
case
$opt
in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment