Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
P
Privatisation_Deploy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
tianye
Privatisation_Deploy
Commits
020023b1
Commit
020023b1
authored
Apr 26, 2022
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节测试
parent
92a5428f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
hcctl
hcctl
+1
-3
uninstall.sh
uninstall.sh
+1
-0
No files found.
hcctl
View file @
020023b1
...
@@ -4,7 +4,6 @@ target=$2
...
@@ -4,7 +4,6 @@ target=$2
source
~/.hcrc 2>/dev/null
||
echo
""
source
~/.hcrc 2>/dev/null
||
echo
""
app_sc_dir
=
${
app_sc_dir
:-
/ops_project/Health-cloud-server/search-center
}
app_sc_dir
=
${
app_sc_dir
:-
/ops_project/Health-cloud-server/search-center
}
echo
"
${
app_sc_dir
}
"
source
${
app_sc_dir
}
/install.ini
source
${
app_sc_dir
}
/install.ini
#DB-compose文件DB_DEPLOY_DIR
#DB-compose文件DB_DEPLOY_DIR
...
@@ -127,7 +126,6 @@ install_compose-files(){
...
@@ -127,7 +126,6 @@ install_compose-files(){
echo
"
${
compose_files
}
"
>
${
app_sc_dir
}
/compose_files
echo
"
${
compose_files
}
"
>
${
app_sc_dir
}
/compose_files
COMPOSE_FILE
=
$(
cat
${
app_sc_dir
}
/compose_files
)
COMPOSE_FILE
=
$(
cat
${
app_sc_dir
}
/compose_files
)
echo
"即将启动docker-compose部署"
echo
"即将启动docker-compose部署"
pwd
sudo
docker-compose
${
COMPOSE_FILE
}
up
-d
sudo
docker-compose
${
COMPOSE_FILE
}
up
-d
}
}
...
@@ -182,7 +180,7 @@ function main(){
...
@@ -182,7 +180,7 @@ function main(){
usage
usage
;;
;;
install_compose-files
)
install_compose-files
)
pwd
#
pwd
echo
"即将执行方法install-compose"
echo
"即将执行方法install-compose"
install_compose-files
install_compose-files
;;
;;
...
...
uninstall.sh
View file @
020023b1
...
@@ -23,5 +23,6 @@ else
...
@@ -23,5 +23,6 @@ else
echo
"You are Not Install The hcrc File"
echo
"You are Not Install The hcrc File"
exit
127
exit
127
fi
fi
echo
"Uninstalling APP contried"
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