Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
config-center
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
proudkids-pub
config-center
Commits
fb527edd
Commit
fb527edd
authored
6 years ago
by
张宗强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add website01 config
parent
3b85e03c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
151 additions
and
0 deletions
+151
-0
proudkids-website01-dev.yml
+69
-0
proudkids-website01-prd.yml
+82
-0
No files found.
proudkids-website01-dev.yml
0 → 100644
View file @
fb527edd
server
:
port
:
5001
#Redis cache 过期时间设置
redis
:
cache
:
expiration
:
3600
# datasoure默认使用JDBC
spring
:
rabbitmq
:
host
:
192.168.1.83
port
:
5672
username
:
zzq223
password
:
222222
zipkin
:
rabbitmq
:
queue
:
zipkin
sleuth
:
sampler
:
percentage
:
1.0
# 分库分表支持
sharding
:
jdbc
:
defaultDataSourceName
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
password
:
pds123!@#
jdbc-url
:
jdbc:mysql://192.168.1.82:3306/proudkids_website01?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource
:
names
:
ds
ds
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
password
:
pds123!@#
jdbc-url
:
jdbc:mysql://192.168.1.82:3306/proudkids_website01?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus
:
mapper-locations
:
classpath:/mapper/*Mapper.xml
typeAliasesPackage
:
com.proudkids.admin.model.entity
global-config
:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type
:
0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy
:
1
#驼峰下划线转换
db-column-underline
:
true
#刷新mapper 调试神器
refresh-mapper
:
true
#数据库大写下划线转换
#capital-mode: true
configuration
:
map-underscore-to-camel-case
:
true
cache-enabled
:
true
logging
:
config
:
classpath:logback.xml
cms
:
websites
:
-
domain
:
http://192.168.1.81
location
:
/opt/devops/cms/
templete
:
templates/
-
domain
:
http://192.168.1.81/cms002
location
:
/opt/devops/cms002/
templete
:
templates002/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
proudkids-website01-prd.yml
0 → 100644
View file @
fb527edd
server
:
port
:
5001
#Redis cache 过期时间设置
redis
:
cache
:
expiration
:
3600
# datasoure默认使用JDBC
spring
:
rabbitmq
:
host
:
172.17.229.78
port
:
5672
username
:
zzq223
password
:
222222
zipkin
:
rabbitmq
:
queue
:
zipkin
sleuth
:
sampler
:
percentage
:
1.0
# 分库分表支持
sharding
:
jdbc
:
defaultDataSourceName
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
password
:
Pds123!@#
jdbc-url
:
jdbc:mysql://172.17.229.78:3306/proudkids_website01?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource
:
names
:
ds
ds
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
proudkids
password
:
Pds123!@#
jdbc-url
:
jdbc:mysql://172.17.229.80:3306/proudkids_website01?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus
:
mapper-locations
:
classpath:/mapper/*Mapper.xml
typeAliasesPackage
:
com.proudkids.admin.model.entity
global-config
:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type
:
0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy
:
1
#驼峰下划线转换
db-column-underline
:
true
#刷新mapper 调试神器
refresh-mapper
:
true
#数据库大写下划线转换
#capital-mode: true
configuration
:
map-underscore-to-camel-case
:
true
cache-enabled
:
true
fdfs
:
file-host
:
http://123.206.94.20:9999/
tracker-list
:
-
123.206.94.20:22122
qiniu
:
accessKey
:
hM2cBDEM0FTYzpXbigRW90kV12NhhzhFM3jCzurJ
secretKey
:
ENC(xUadBts805WTXkGtxsgPEybtR3D14GFQHAPUBDEnIoYmStJftu63fldDFUhUA2W2OU3NdRR0+3A=)
bucket
:
proudkidscloud
qiniuHost
:
http://p0hpm86wj.bkt.clouddn.com/
logging
:
config
:
classpath:logback.xml
static
:
location
:
/opt/devops/cms/
cms
:
websites
:
-
domain
:
http://cms.proudkids.cn
location
:
/opt/devops/www/cms/
templete
:
templates/
-
domain
:
http://cms.proudkids.cn/m
location
:
/opt/devops/www/cms/m/
templete
:
templates002/
\ No newline at end of file
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