66 行
1.2 KiB
YAML
66 行
1.2 KiB
YAML
|
|
server:
|
||
|
|
port: 8081
|
||
|
|
|
||
|
|
spring:
|
||
|
|
application:
|
||
|
|
name: tenant-service
|
||
|
|
datasource:
|
||
|
|
url: jdbc:mysql://localhost:3306/xuqm_tenant?useSSL=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
|
||
|
|
username: root
|
||
|
|
password: root
|
||
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
|
jpa:
|
||
|
|
hibernate:
|
||
|
|
ddl-auto: update
|
||
|
|
show-sql: false
|
||
|
|
properties:
|
||
|
|
hibernate:
|
||
|
|
dialect: org.hibernate.dialect.MySQLDialect
|
||
|
|
format_sql: true
|
||
|
|
data:
|
||
|
|
redis:
|
||
|
|
host: localhost
|
||
|
|
port: 6379
|
||
|
|
timeout: 5000ms
|
||
|
|
mail:
|
||
|
|
host: smtp.example.com
|
||
|
|
port: 587
|
||
|
|
username: noreply@xuqm.com
|
||
|
|
password: changeme
|
||
|
|
properties:
|
||
|
|
mail:
|
||
|
|
smtp:
|
||
|
|
auth: true
|
||
|
|
starttls:
|
||
|
|
enable: true
|
||
|
|
jackson:
|
||
|
|
time-zone: UTC
|
||
|
|
serialization:
|
||
|
|
write-dates-as-timestamps: false
|
||
|
|
|
||
|
|
jwt:
|
||
|
|
secret: xuqm-tenant-service-secret-key-must-be-at-least-256-bits-long-for-hmac
|
||
|
|
expiration: 86400000
|
||
|
|
|
||
|
|
captcha:
|
||
|
|
expire-seconds: 300
|
||
|
|
|
||
|
|
email-verify:
|
||
|
|
expire-seconds: 600
|
||
|
|
sub-account-token-hours: 24
|
||
|
|
|
||
|
|
ops:
|
||
|
|
admin:
|
||
|
|
username: admin
|
||
|
|
password: Admin@123456
|
||
|
|
|
||
|
|
logging:
|
||
|
|
level:
|
||
|
|
com.xuqm: DEBUG
|
||
|
|
|
||
|
|
management:
|
||
|
|
endpoints:
|
||
|
|
web:
|
||
|
|
exposure:
|
||
|
|
include: health,info
|