Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhny
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
王夏晖
zhny
Commits
b64fa10d
Commit
b64fa10d
authored
May 17, 2018
by
jichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正式环境、测试环境 配置
parent
a9516d0e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
17 deletions
+40
-17
application-dev.yml
src/main/resources/application-dev.yml
+9
-1
application-prod.yml
src/main/resources/application-prod.yml
+31
-9
application.yml
src/main/resources/application.yml
+0
-7
No files found.
src/main/resources/application-dev.yml
View file @
b64fa10d
...
...
@@ -47,6 +47,7 @@ spring:
# force: true
# charset: UTF-8
# enabled: true
http
:
multipart
:
max-file-size
:
100Mb
max-request-size
:
1000Mb
...
...
@@ -100,3 +101,10 @@ global:
images_location
:
/images
code
:
admin
:
ROLE_1001
filepath
:
analysis
:
D:\zhny\filepath\analysis\
equipment
:
D:\zhny\filepath\equipment\
devicetp
:
D:\zhny\filepath\devicetp\
serverimgurl
:
127.0.0.1:9000/
\ No newline at end of file
src/main/resources/application-prod.yml
View file @
b64fa10d
server
:
port
:
8082
context-path
:
/
#ContextPath must start with '/' and not end with '/'
context-path
:
/
project
#ContextPath must start with '/' and not end with '/'
tomcat
:
max-threads
:
300
max-http-header-size
:
10240000
#logging:
# level:
...
...
@@ -10,7 +11,7 @@ server:
# org.springframework.web: DEBUG
druid
:
url
:
jdbc:mysql://1
27.0.0.1:330
6/zhny?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
url
:
jdbc:mysql://1
39.199.98.105:333
6/zhny?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
username
:
root
password
:
root
initial-size
:
1
...
...
@@ -20,12 +21,13 @@ druid:
mybatis
:
mapper-locations
:
classpath:mapper/*.xml
mapper-locations
:
classpath:mapper/**/**/*.xml
config-location
:
classpath:mybatis-config.xml
mapper
:
mappers
:
-
org.
yxyqcy.sys
.base.BaseMapper
-
org.
rcisoft.core
.base.BaseMapper
not-empty
:
false
identity
:
MYSQL
...
...
@@ -38,7 +40,7 @@ pagehelper:
spring
:
jackson
:
default-property-inclusion
:
non_null
#
default-property-inclusion: non_null
http
:
multipart
:
max-file-size
:
100Mb
...
...
@@ -47,6 +49,17 @@ spring:
throw-exception-if-no-handler-found
:
true
resources
:
add-mappings
:
false
redis
:
host
:
127.0.0.1
port
:
6379
pool
:
max-idle
:
50
max-active
:
1000
min-idle
:
5
max-wait
:
-1
database
:
0
password
:
'
'
timeout
:
3600
jwt
:
header
:
Authorization
...
...
@@ -55,12 +68,14 @@ jwt:
tokenHead
:
"
Bearer
"
route
:
authentication
:
path
:
auth
refresh
:
refresh
register
:
"
auth
/register"
path
:
"
/login"
refresh
:
"
/refresh"
register
:
"
/register"
global
:
path
:
base_upload_location
:
/working/resource/eduServer/
code_generate_location
:
/code
video_location
:
/video
temp_location
:
/temp
file_location
:
/file
...
...
@@ -69,3 +84,10 @@ global:
admin
:
ROLE_1001
teacher
:
ROLE_1002
student
:
ROLE_1003
filepath
:
analysis
:
/home/zhny/filepath/analysis/
equipment
:
/home/zhny/filepath/equipment/
devicetp
:
/home/zhny/filepath/devicetp/
serverimgurl
:
139.199.98.105:9000/
\ No newline at end of file
src/main/resources/application.yml
View file @
b64fa10d
spring
:
profiles
:
active
:
dev
filepath
:
analysis
:
D:\zhny\filepath\analysis\
equipment
:
D:\zhny\filepath\equipment\
devicetp
:
D:\zhny\filepath\devicetp\
serverimgurl
:
192.168.1.164:9000/
\ No newline at end of file
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