46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
server:
|
|
port: 8081
|
|
|
|
logging:
|
|
config: classpath:logback.xml
|
|
|
|
spring:
|
|
application:
|
|
# 应用名称
|
|
name: microservices-gns-reader
|
|
mvc:
|
|
pathmatch:
|
|
matching-strategy: ant_path_matcher
|
|
cloud:
|
|
nacos:
|
|
discovery:
|
|
# 服务注册地址
|
|
server-addr: nacos:8848
|
|
# username: nacos
|
|
# password: nacos
|
|
redis:
|
|
database: 0
|
|
host: redis
|
|
port: 6379
|
|
password:
|
|
pool:
|
|
max-active: 200
|
|
max-wait: -1
|
|
max-idle: 10
|
|
min-idle: 0
|
|
timeout: 1000
|
|
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://mysql:3306/gitlink_notification?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&allowMultiQueries=true&useSSL=false
|
|
username: gitlink
|
|
password: giTlinK0^827
|
|
|
|
jackson:
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
time-zone: GMT+8
|
|
serialization:
|
|
indent_output: true
|
|
fail_on_empty_beans: false
|
|
|
|
white-list: '*' |