57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
server:
|
|
port: 8080
|
|
|
|
spring:
|
|
application:
|
|
name: unis-crm-backend
|
|
datasource:
|
|
url: jdbc:postgresql://127.0.0.1:5432/nex_auth
|
|
username: postgres
|
|
password: 199628
|
|
driver-class-name: org.postgresql.Driver
|
|
data:
|
|
redis:
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
password: 199628@tlw
|
|
database: 14
|
|
|
|
mybatis-plus:
|
|
mapper-locations: classpath*:/mapper/**/*.xml
|
|
type-aliases-package: com.unis.crm.dto.dashboard
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
logging:
|
|
level:
|
|
com.unis.crm: info
|
|
|
|
unisbase:
|
|
tenant:
|
|
enabled: false
|
|
web:
|
|
auth-endpoints-enabled: true
|
|
management-endpoints-enabled: true
|
|
security:
|
|
enabled: true
|
|
mode: embedded
|
|
jwt-secret: change-me-please-change-me-32bytes
|
|
auth-header: Authorization
|
|
token-prefix: "Bearer "
|
|
permit-all-urls:
|
|
- /actuator/health
|
|
internal-auth:
|
|
enabled: true
|
|
secret: change-me-internal-secret
|
|
header-name: X-Internal-Secret
|
|
app:
|
|
upload-path: /Users/kangwenjing/Downloads/crm/uploads
|
|
resource-prefix: /sys/api/static/
|
|
captcha:
|
|
ttl-seconds: 120
|
|
max-attempts: 5
|
|
token:
|
|
access-default-minutes: 30
|
|
refresh-default-days: 7
|