Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
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
赵啸非
device-new-platform
Commits
87b2cd3d
Commit
87b2cd3d
authored
Dec 15, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整pom文件
parent
faec60d2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
29 deletions
+7
-29
device-manager/src/main/bin/deploy.sh
device-manager/src/main/bin/deploy.sh
+7
-3
device-manager/src/main/resources/bootstrap.yml
device-manager/src/main/resources/bootstrap.yml
+0
-26
No files found.
device-manager/src/main/bin/deploy.sh
View file @
87b2cd3d
...
@@ -37,8 +37,10 @@ clear_deploy() {
...
@@ -37,8 +37,10 @@ clear_deploy() {
#清理后台自启服务
#清理后台自启服务
rm
-f
${
SERVICE
}
rm
-f
${
SERVICE
}
#清理执行文件目录
#清理执行文件目录
writelog
"mv
${
EXECPATH
}
backup/
${
EXECPATH
}
"
mv
${
EXECPATH
}
backup/
${
PROJECT_NAME
}
# mv /home/publish/portal-manager /home/publish/backup/portal-manager
writelog
"mv
${
EXECPATH
}
${
PUBLISH_PATH
}
/backup/
${
PROJECT_NAME
}
"
mv
${
EXECPATH
}
${
PUBLISH_PATH
}
/backup/
${
PROJECT_NAME
}
#rm -rf ${EXECPATH}
#rm -rf ${EXECPATH}
}
}
...
@@ -46,7 +48,9 @@ clear_deploy() {
...
@@ -46,7 +48,9 @@ clear_deploy() {
clear_ui_deploy
()
{
clear_ui_deploy
()
{
EXEC_UI_PATH
=
$1
EXEC_UI_PATH
=
$1
#rm -rf ${EXEC_UI_PATH}
#rm -rf ${EXEC_UI_PATH}
mv
${
EXEC_UI_PATH
}
backup/
${
PROJECT_NAME
}
# mv /home/publish/portal-manager /home/publish/backup/portal-manager
writelog
"mv
${
PUBLISH_PATH
}
/
${
PROJECT_NAME
}
-ui
${
PUBLISH_PATH
}
/backup/
${
PROJECT_NAME
}
-ui"
mv
${
EXEC_UI_PATH
}
${
PUBLISH_PATH
}
/backup/
${
PROJECT_NAME
}
-ui
mkdir
-p
${
EXEC_UI_PATH
}
mkdir
-p
${
EXEC_UI_PATH
}
}
}
...
...
device-manager/src/main/resources/bootstrap.yml
View file @
87b2cd3d
...
@@ -20,22 +20,6 @@ spring:
...
@@ -20,22 +20,6 @@ spring:
default-property-inclusion
:
NON_NULL
default-property-inclusion
:
NON_NULL
# time-zone: GMT+8
# time-zone: GMT+8
# date-format: yyyy-MM-dd HH:mm:ss
# date-format: yyyy-MM-dd HH:mm:ss
redis
:
host
:
@
profiles.redis.uri@
port
:
@
profiles.redis.port@
username
:
@
profiles.redis.username@
password
:
@
profiles.redis.password@
database
:
@
profiles.redis.database@
timeout
:
30000
lettuce
:
pool
:
max-idle
:
50
min-idle
:
20
max-active
:
100
max-wait
:
5000
# sentinel:
# master: mymaster
# nodes: @profiles.redis.sentinel@
cloud
:
cloud
:
loadbalancer
:
loadbalancer
:
ribbon
:
ribbon
:
...
@@ -54,16 +38,6 @@ spring:
...
@@ -54,16 +38,6 @@ spring:
dao
:
dao
:
exceptiontranslation
:
exceptiontranslation
:
enabled
:
false
enabled
:
false
datasource
:
druid
:
connect-timeout
:
30000
socket-timeout
:
60000
type
:
com.alibaba.druid.pool.DruidDataSource
#driver-class-name: com.p6spy.engine.spy.P6SpyDriver
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
@
profiles.datasource.uri@
username
:
@
profiles.datasource.username@
password
:
@
profiles.datasource.password@
mybatis
:
mybatis
:
root-path
:
com.mortals
root-path
:
com.mortals
...
...
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