Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
log-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
赵啸非
log-platform
Commits
d8802671
Commit
d8802671
authored
2 years ago
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重新设置配置文件
parent
198e4faf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
log-manager/pom.xml
log-manager/pom.xml
+2
-3
log-manager/src/main/bin/deploy.sh
log-manager/src/main/bin/deploy.sh
+4
-4
No files found.
log-manager/pom.xml
View file @
d8802671
...
@@ -315,9 +315,7 @@
...
@@ -315,9 +315,7 @@
<plugin>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
3.3.0
</version>
<version>
3.3.0
</version>
<configuration>
<skipAssembly>
${skipDeploy}
</skipAssembly>
</configuration>
<executions>
<executions>
<execution>
<execution>
<id>
make-assembly
</id>
<id>
make-assembly
</id>
...
@@ -341,6 +339,7 @@
...
@@ -341,6 +339,7 @@
<goal>
single
</goal>
<goal>
single
</goal>
</goals>
</goals>
<configuration>
<configuration>
<skipAssembly>
${skipDeploy}
</skipAssembly>
<finalName>
${project.artifactId}-ui
</finalName>
<finalName>
${project.artifactId}-ui
</finalName>
<appendAssemblyId>
false
</appendAssemblyId>
<appendAssemblyId>
false
</appendAssemblyId>
<descriptors>
<descriptors>
...
...
This diff is collapsed.
Click to expand it.
log-manager/src/main/bin/deploy.sh
View file @
d8802671
#!/bin/sh
#!/bin/sh
RETVAL
=
$?
RETVAL
=
$?
SHELL_NAME
=
$0
SHELL_NAME
=
"deploy"
BASEDIR
=
$(
dirname
$0
)
BASEDIR
=
$(
dirname
$0
)
BASEDIR
=
$(
(
BASEDIR
=
$(
(
cd
"
$BASEDIR
"
cd
"
$BASEDIR
"
...
@@ -8,8 +8,8 @@ BASEDIR=$( (
...
@@ -8,8 +8,8 @@ BASEDIR=$( (
)
)
)
)
LOCK_FILE
=
"/tmp/deploy.lock"
LOCK_FILE
=
"/tmp/deploy.lock"
# 时间变量
# 时间变量
LOG_DATE
=
'date "+%Y-%m-%d"'
CDATE
=
$(
date
"+%Y-%m-%d"
)
LOG_TIME
=
'date "+%H-%M-%S"'
CTIME
=
$(
date
"+%H:%M:%S"
)
PUBLISH_PATH
=
"@profiles.publish.path@"
PUBLISH_PATH
=
"@profiles.publish.path@"
PROJECT_NAME
=
"@project.artifactId@"
PROJECT_NAME
=
"@project.artifactId@"
IP
=
"@profiles.server.ip@"
IP
=
"@profiles.server.ip@"
...
@@ -103,7 +103,7 @@ build_nginx() {
...
@@ -103,7 +103,7 @@ build_nginx() {
index index.html index.htm;
index index.html index.htm;
}
}
location
${
NGINX_SERVER_PATH
}
{
location
${
NGINX_SERVER_PATH
}
/
{
proxy_pass http://
${
IP
}
:
${
PORT
}
;
proxy_pass http://
${
IP
}
:
${
PORT
}
;
proxy_set_header Host
\$
host;
proxy_set_header Host
\$
host;
proxy_set_header X-Real-IP
\$
remote_addr;
proxy_set_header X-Real-IP
\$
remote_addr;
...
...
This diff is collapsed.
Click to expand it.
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