application.yml 953 Bytes
Newer Older
PWF-WK01\pengwufeng committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
http:
  port: 8080

jdbc:
  default:
    user: bap2_user
    pass: bap2_pass
    url: jdbc:mysql://localhost:3306/tenant_default?useSSL=true
    driverClassName: com.mysql.jdbc.Driver
  mutitenancy:
    user: bap2_user
    pass: bap2_pass
    url: jdbc:mysql://localhost:3306/
    driverClassName: com.mysql.jdbc.Driver

hibernate:
  hbm2ddl:
    auto: update
  dialect: org.hibernate.dialect.MySQLDialect
  show_sql: true
  multiTenancy: schema

c3p0:
  minPoolSize: 2
  maxPoolSize: 5
  maxIdleTime: 600
  maxStatements: 0
  idleTestPeriod: 300
  acquireIncrement: 1

amino:
  multitenancy:
    enabled: true
    tenantResolver:
      scope: request
    dataSource:
      db: mysql
      connectionPool: c3p0

spring:
  thymeleaf:
    cache: false

management:
  shell:
    ssh:
      port: 2000
      authTimeout: 600000
      idleTimeout: 600000
    auth:
      type: simple
      simple:
        user:
          name: bap2
          password: bap2