weather / application.yml
kevin1207's picture
Update application.yml
516ee4e verified
server:
port: 10801
spring:
application:
name: weather-service
datasource:
url: jdbc:p6spy:mysql://mysql-32047d34-drzhong2015-f6dc.i.aivencloud.com:25876/weather_test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=${mysql-ssl}
username: avnadmin
password: ${AIVEN_DB_PASSWORD}
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
# driver-class-name: com.mysql.cj.jdbc.Driver
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
mapper-locations: classpath:/mapper/**/*.xml
global-config:
db-config:
id-type: auto
logic-delete-value: 1
logic-not-delete-value: 0
mysql-ssl: true&verifyServerCertificate=true&requireSSL=true&clientCertificateKeyStoreUrl=classpath:mysql_ssl/mysql-keystore&clientCertificateKeyStorePassword=abc123&trustCertificateKeyStoreUrl=classpath:mysql_ssl/mysql-truststore&trustCertificateKeyStorePassword=123456
# 定时请求时间 由系统时区决定
cron:
# schedule: "0 45 18 * * ?" 波兰 UTC +2时区
schedule: "0 45 00 * * ?" # huggingface上的容器时区默认为UTC+0