39 lines
852 B
YAML
39 lines
852 B
YAML
|
server:
|
||
|
port: 8601
|
||
|
# ssl:
|
||
|
# key-store: classpath:Serverkeystore.p12
|
||
|
# key-store-type: PKCS12
|
||
|
# key-store-password: 123456
|
||
|
# key-alias: serverKey
|
||
|
|
||
|
spring:
|
||
|
application:
|
||
|
name: auth-server
|
||
|
mvc:
|
||
|
pathmatch:
|
||
|
matching-strategy: ant_path_matcher
|
||
|
|
||
|
|
||
|
c3p0:
|
||
|
# jdbcUrl: jdbc:mysql://82.157.153.250:3306/hp_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||
|
# driverClass: com.mysql.cj.jdbc.Driver
|
||
|
# user: hp
|
||
|
# password: Hp1949..
|
||
|
jdbcUrl: jdbc:postgresql://localhost:5432/postgres
|
||
|
driverClass: org.postgresql.Driver
|
||
|
user: postgres
|
||
|
password: postgres
|
||
|
minPoolSize: 2
|
||
|
maxPoolSize: 10
|
||
|
maxIdleTime: 6000
|
||
|
breakAfterAcquireFailure: true
|
||
|
testConnectionOnCheckout: false
|
||
|
|
||
|
# https://localhost:8601/doc.html
|
||
|
knife4j:
|
||
|
enable: true
|
||
|
basic:
|
||
|
enable: true
|
||
|
username: admin
|
||
|
password: admin@123
|