40 lines
808 B
YAML
40 lines
808 B
YAML
server:
|
|
port: 8088
|
|
servlet:
|
|
context-path: /api
|
|
|
|
spring:
|
|
application:
|
|
name: k12study-boot-dev
|
|
autoconfigure:
|
|
exclude:
|
|
- org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
|
|
- org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration
|
|
- com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration
|
|
data:
|
|
redis:
|
|
host: ${K12STUDY_REDIS_HOST:localhost}
|
|
port: ${K12STUDY_REDIS_PORT:6379}
|
|
password: ${K12STUDY_REDIS_PASSWORD:}
|
|
|
|
management:
|
|
health:
|
|
redis:
|
|
enabled: false
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: health,info
|
|
|
|
auth:
|
|
enabled: true
|
|
gateway-mode: false
|
|
whitelist:
|
|
- /auth/tokens
|
|
- /auth/tokens/refresh
|
|
- /actuator/**
|
|
|
|
ai:
|
|
client:
|
|
base-url: http://localhost:9000
|