23 lines
701 B
YAML
23 lines
701 B
YAML
## spring security 配置
|
|
security:
|
|
oauth2:
|
|
client:
|
|
client-id: ENC(gPFcUOmJm8WqM3k3eSqS0Q==)
|
|
client-secret: ENC(gPFcUOmJm8WqM3k3eSqS0Q==)
|
|
scope: server
|
|
# 数据源配置
|
|
spring:
|
|
datasource:
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
username: root
|
|
password: root
|
|
url: jdbc:mysql://pigx-mysql:3306/coffeewx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
|
|
resources:
|
|
static-locations: classpath:/static/,classpath:/views/
|
|
|
|
pigx:
|
|
tenant:
|
|
column: tenant_id
|
|
tables:
|
|
- sys_datasource_conf |