12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- ## spring security 配置
- security:
- oauth2:
- client:
- client-id: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
- client-secret: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
- scope: server
- # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次
- ignore-urls:
- - /actuator/**
- - /v2/api-docs
- - /user/info/*
- - /social/info/*
- - /mobile/*
- - /log/save
- # 数据源
- 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/pigxx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true
- # 文件系统 (提供测试环境,不要乱传)
- minio:
- url: https://minio.pig4cloud.com
- access-key: ENC(O4GgJmcJLQAnvfz+RRq65aps5HgbWQXZ)
- secret-key: ENC(O4GgJmcJLQAnvfz+RRq65aps5HgbWQXZ)
- # Logger Config
- logging:
- level:
- com.pig4cloud.pigx.admin.mapper: debug
- # 租户表维护
- pigx:
- tenant:
- column: tenant_id
- tables:
- - sys_user
- - sys_role
- - sys_dept
- - sys_log
- - sys_social_details
- - sys_dict
- - sys_dict_item
- - sys_log
|