application-dev.yml 1.14 KB
Newer Older
1 2 3
server:
  port: 7008

竹天卫's avatar
竹天卫 committed
4
#-Dspring.config.location=D:\idea_workspases\tianjin-acquisition\acquisition-business\src\main\resources\application.yml
5
spring:
竹天卫's avatar
竹天卫 committed
6
  application: data-acquisition
7 8 9
  profiles:
    active: dev
  datasource:
竹天卫's avatar
竹天卫 committed
10
    # 192.168.110.85   fpsn       CementMine
竹天卫's avatar
竹天卫 committed
11
    url: jdbc:sqlserver://192.168.110.85:1433;DatabaseName=fpsn
12
    username: sa
13
    password: admin!@#123
竹天卫's avatar
竹天卫 committed
14
    driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
15 16 17 18 19 20 21
    hikari:
      minimum-idle: 3
      maximum-pool-size: 10
      max-lifetime: 30000 #不能小于30秒,否则默认回到1800秒
      connection-test-query: SELECT 1
  redis:
    port: 6379
罗贤顺's avatar
罗贤顺 committed
22 23 24
#    host: localhost
    host: 192.168.110.85
#    password: Wise_@123456
25 26 27 28 29 30 31 32 33 34 35 36 37 38
  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 100MB
# 设置swagger用户名密码
swagger:
  basic:
    enable: false
    username: admin
    password: admin

mybatis-plus:
  # 启动时是否检查MyBatis XML文件是否存在
  check-config-location: true
竹天卫's avatar
竹天卫 committed
39 40
  type-aliases-package: cn.wise.sc.acquisition.business.entity.**
  mapper-locations: classpath:/cn/wise/sc/acquisition/business/mapper/xml/*Mapper.xml
41 42 43 44 45 46 47 48 49 50 51