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
dc9d5381
Commit
dc9d5381
authored
Jun 08, 2022
by
tianye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docker-compose位置
parent
4a4043f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
db_install.sh
db_install.sh
+15
-15
No files found.
db_install.sh
View file @
dc9d5381
...
@@ -92,7 +92,7 @@ echo "DB_DEPLOY_DIR=/ops_project/Health-cloud-server-DB">${db_sc_dir}/.env
...
@@ -92,7 +92,7 @@ echo "DB_DEPLOY_DIR=/ops_project/Health-cloud-server-DB">${db_sc_dir}/.env
cd
${
db_sc_dir
}
cd
${
db_sc_dir
}
source
.env
source
.env
db_compose_file
=
$PWD
/docker-compose-alldb.yaml
db_compose_file
=
.
/docker-compose-alldb.yaml
docker-compose
-f
${
db_compose_file
}
up
-d
docker-compose
-f
${
db_compose_file
}
up
-d
sleep
3
sleep
3
docker-compose
-f
${
db_compose_file
}
ps
docker-compose
-f
${
db_compose_file
}
ps
...
@@ -100,7 +100,7 @@ if_err
...
@@ -100,7 +100,7 @@ if_err
echo
-e
"
\0
33[32m***Health-cloud-DB中间件已全部安装成功***
\0
33[0m"
echo
-e
"
\0
33[32m***Health-cloud-DB中间件已全部安装成功***
\0
33[0m"
echo
-e
"
\0
33[34m*********安装位置:
${
db_sc_dir
}
*****************
\0
33[0m"
echo
-e
"
\0
33[34m*********安装位置:
${
db_sc_dir
}
*****************
\0
33[0m"
echo
-e
"
\0
33[34m查看服务
\0
33[0m:docker-compose -f
${
db_
compose_file
}
ps"
echo
-e
"
\0
33[34m查看服务
\0
33[0m:docker-compose -f
${
db_
sc_dir
}
/docker-compose-alldb.yaml
ps"
echo
-e
"
\0
33[34m卸载服务
\0
33[0m:docker-compose -f
${
db_
compose_file
}
down"
echo
-e
"
\0
33[34m卸载服务
\0
33[0m:docker-compose -f
${
db_
sc_dir
}
/docker-compose-alldb.yaml
down"
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