23 lines
765 B
YAML
23 lines
765 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: ${MYSQL-USER:root}
|
|
password: ${MYSQL-PWD:root}
|
|
url: jdbc:mysql://${MYSQL-HOST:pigx-mysql}:${MYSQL-PORT:3306}/${MYSQL-DB:pigxx}?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 |