Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-test
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
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kunkka王辉
docker-test
Commits
e566044f
Commit
e566044f
authored
Sep 20, 2023
by
Kunkka王辉
😲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除多余的代码
parent
985f60da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
install.sh
install.sh
+2
-7
No files found.
install.sh
View file @
e566044f
...
@@ -21,7 +21,7 @@ EOF
...
@@ -21,7 +21,7 @@ EOF
if
echo
"
$TAR_YES$GIT_YES$DOCKER_COMPOSE_YES$OS_IS_LINUX$DOCKER_YES$PORT_YES
"
|
grep
no
>
/dev/null
;
then
if
echo
"
$TAR_YES$GIT_YES$DOCKER_COMPOSE_YES$OS_IS_LINUX$DOCKER_YES$PORT_YES
"
|
grep
no
>
/dev/null
;
then
exit
;
exit
;
fi
fi
echo
$@
# 变量声明
# 变量声明
ENV
=
'dev'
ENV
=
'dev'
CODE_DIR
=
$(
pwd
)
/code-
$ENV
CODE_DIR
=
$(
pwd
)
/code-
$ENV
...
@@ -62,10 +62,6 @@ EOF
...
@@ -62,10 +62,6 @@ EOF
echo
'生成.env文件'
echo
'生成.env文件'
cat
.env
cat
.env
echo
'启动容器,检查端口是否占用'
echo
'启动容器,检查端口是否占用'
if
ss
-t
$COMPOSE_CMD
up
-d
$COMPOSE_CMD
up
-d
cat
<<
EOF
cat
<<
EOF
...
@@ -74,5 +70,4 @@ http://本机ip:8118/
...
@@ -74,5 +70,4 @@ http://本机ip:8118/
http://本机ip:8181/
http://本机ip:8181/
安装完成!
安装完成!
EOF
EOF
# xxx:1234/
# xxx:3322/
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