4 changed files with 96 additions and 3 deletions
@ -0,0 +1,60 @@ |
|||||
|
server: |
||||
|
port: 7130 |
||||
|
servlet: |
||||
|
context-path: /v3.0 |
||||
|
spring: |
||||
|
application: |
||||
|
name: tall3 |
||||
|
datasource: |
||||
|
type: com.alibaba.druid.pool.DruidDataSource |
||||
|
rabbitmq: |
||||
|
host: 127.0.0.1 |
||||
|
password: 111111 |
||||
|
port: 5672 |
||||
|
username: admin |
||||
|
redis: |
||||
|
database: 0 |
||||
|
host: 127.0.0.1 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 200 |
||||
|
max-idle: 10 |
||||
|
max-wait: -1ms |
||||
|
min-idle: 0 |
||||
|
password: '' |
||||
|
port: 6379 |
||||
|
timeout: 1000ms |
||||
|
swagger: |
||||
|
enable: true |
||||
|
mybatisCache: |
||||
|
database: 1 |
||||
|
host: 127.0.0.1 |
||||
|
jedis: |
||||
|
pool: |
||||
|
max-active: 200 |
||||
|
max-idle: 10 |
||||
|
max-wait: -1 |
||||
|
min-idle: 0 |
||||
|
password: '' |
||||
|
port: 6379 |
||||
|
timeout: 1000 |
||||
|
eureka: |
||||
|
instance: |
||||
|
ip-address: 127.0.0.1 |
||||
|
|
||||
|
gatewayUrl: https://test.tall.wiki/gateway/ |
||||
|
notGatewayUrl: https://test.tall.wiki/ |
||||
|
smsCode: 0 |
||||
|
wx: |
||||
|
prefixUrl: https://www.tall.wiki/wxconfigurer-api/ |
||||
|
file: |
||||
|
path: /home/cloud/tall/uploads/ |
||||
|
domain: https://test.tall.wiki/gateway/tall/v1.0/ |
||||
|
imgDomain: https://test.tall.wiki/gateway/tall/v1.0/uploads |
||||
|
queryPowerAddress: /power/query |
||||
|
#file: |
||||
|
# domain: http://192.168.0.99/gateway/tall/v1.0/ |
||||
|
# imgDomain: http://192.168.0.99/gateway/tall/v1.0/uploads |
||||
|
fiot: |
||||
|
appId: mEulfDBBOFeOjGavy |
||||
|
secret: FaFKWiwVUWbJmfxVnSdd |
||||
@ -1,5 +1,5 @@ |
|||||
spring: |
spring: |
||||
profiles: |
profiles: |
||||
active: test |
active: pre |
||||
include: util-test,common |
include: util-pre,common |
||||
|
|
||||
|
|||||
@ -0,0 +1,33 @@ |
|||||
|
spring: |
||||
|
datasource: |
||||
|
druid: |
||||
|
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 |
||||
|
driverClassName: com.mysql.cj.jdbc.Driver |
||||
|
dynamicUrl: jdbc:mysql://localhost:3306/${schema} |
||||
|
filterExclusions: '*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*' |
||||
|
filterName: druidFilter |
||||
|
filterProfileEnable: true |
||||
|
filterUrlPattern: /* |
||||
|
filters: stat,wall |
||||
|
initialSize: 5 |
||||
|
maxActive: 20 |
||||
|
maxPoolPreparedStatementPerConnectionSize: 20 |
||||
|
maxWait: 60000 |
||||
|
minEvictableIdleTimeMillis: 300000 |
||||
|
minIdle: 5 |
||||
|
password: |
||||
|
poolPreparedStatements: true |
||||
|
servletLogSlowSql: true |
||||
|
servletLoginPassword: 111111 |
||||
|
servletLoginUsername: druid |
||||
|
servletName: druidServlet |
||||
|
servletResetEnable: true |
||||
|
servletUrlMapping: /druid/* |
||||
|
testOnBorrow: false |
||||
|
testOnReturn: false |
||||
|
testWhileIdle: true |
||||
|
timeBetweenEvictionRunsMillis: 60000 |
||||
|
url: jdbc:mysql://127.0.0.1/tall3?useUnicode=true&characterEncoding=UTF-8 |
||||
|
username: root |
||||
|
validationQuery: SELECT 1 FROM DUAL |
||||
|
env: CCSENS_TALL |
||||
Loading…
Reference in new issue