Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-cost-system
Overview
Overview
Details
Activity
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
bltdc
dc-cost-system
Commits
f0f36ab6
Commit
f0f36ab6
authored
Nov 26, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update config
parent
e71c16ec
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
1 deletion
+32
-1
pom.xml
bailuntec-cost-core/pom.xml
+12
-0
application-dev.yml
bailuntec-cost-core/src/main/resources/application-dev.yml
+6
-0
application-prod.yml
bailuntec-cost-core/src/main/resources/application-prod.yml
+7
-0
application-test.yml
bailuntec-cost-core/src/main/resources/application-test.yml
+6
-0
deploy-miniapp-prod.sh
bailuntec-cost-core/src/main/shell/deploy-miniapp-prod.sh
+1
-1
No files found.
bailuntec-cost-core/pom.xml
View file @
f0f36ab6
...
@@ -140,6 +140,18 @@
...
@@ -140,6 +140,18 @@
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<artifactId>
spring-boot-starter-web
</artifactId>
<exclusions>
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-tomcat
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--undertow servlet 容器-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-undertow
</artifactId>
</dependency>
</dependency>
<!--mp 增加Mybatis-->
<!--mp 增加Mybatis-->
...
...
bailuntec-cost-core/src/main/resources/application-dev.yml
View file @
f0f36ab6
...
@@ -67,3 +67,9 @@ server:
...
@@ -67,3 +67,9 @@ server:
servlet
:
servlet
:
context-path
:
/purchase/other
context-path
:
/purchase/other
undertow
:
direct-buffers
:
true
buffer-size
:
1024
threads
:
worker
:
500
io
:
6
bailuntec-cost-core/src/main/resources/application-prod.yml
View file @
f0f36ab6
...
@@ -12,6 +12,7 @@ spring:
...
@@ -12,6 +12,7 @@ spring:
max-lifetime
:
30000
max-lifetime
:
30000
connection-test-query
:
'
select
1'
connection-test-query
:
'
select
1'
thymeleaf
:
thymeleaf
:
prefix
:
classpath:/templates/
prefix
:
classpath:/templates/
suffix
:
.html
suffix
:
.html
...
@@ -74,3 +75,9 @@ server:
...
@@ -74,3 +75,9 @@ server:
servlet
:
servlet
:
context-path
:
/purchase/other
context-path
:
/purchase/other
undertow
:
direct-buffers
:
true
buffer-size
:
1024
threads
:
worker
:
500
io
:
6
bailuntec-cost-core/src/main/resources/application-test.yml
View file @
f0f36ab6
...
@@ -72,3 +72,9 @@ server:
...
@@ -72,3 +72,9 @@ server:
servlet
:
servlet
:
context-path
:
/purchase/other
context-path
:
/purchase/other
undertow
:
direct-buffers
:
true
buffer-size
:
1024
threads
:
worker
:
500
io
:
6
bailuntec-cost-core/src/main/shell/deploy-miniapp-prod.sh
View file @
f0f36ab6
...
@@ -9,4 +9,4 @@ mvn clean package -U -Dmaven.test.skip=true -Dmaven.compile.fork=true
...
@@ -9,4 +9,4 @@ mvn clean package -U -Dmaven.test.skip=true -Dmaven.compile.fork=true
# shellcheck disable=SC2009
# shellcheck disable=SC2009
ps
-ef
|
grep
cost-core |
grep
-v
grep
|
grep
prod | awk
'{print $2}'
| xargs
kill
-9
ps
-ef
|
grep
cost-core |
grep
-v
grep
|
grep
prod | awk
'{print $2}'
| xargs
kill
-9
# 运行
# 运行
nohup java
-Xms512m
-Xmx1024m
-
Xss1M
-
jar
-Dspring
.profiles.active
=
prod /home/ubuntu/data/other/dc-cost-system/bailuntec-cost-core/target/bailuntec-cost-core-1.0-SNAPSHOT.jar &
nohup java
-Xms512m
-Xmx1024m
-jar
-Dspring
.profiles.active
=
prod /home/ubuntu/data/other/dc-cost-system/bailuntec-cost-core/target/bailuntec-cost-core-1.0-SNAPSHOT.jar &
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