2025-12-25 09:41:45 +08:00

41 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
port: 8087
servlet:
context-path: /seer/teacher
spring:
application:
name: seer-teacher
profiles:
active: dev
main:
allow-bean-definition-overriding: true
flyway:
enabled: true
locations: classpath:db/mysql
baseline-on-migrate: true
baseline-version: 0.9.0
clean-disable: true
table: flyway_schema_history_teacher
config:
import:
- optional:nacos:${spring.application.name}-${spring.profiles.active}.yaml
- optional:nacos:shared-database.yaml
- optional:nacos:shared-redis.yaml
- optional:nacos:shared-sa-token.yaml
- optional:nacos:shared-minio.yaml
cloud:
nacos:
discovery:
server-addr: 192.168.0.39:8848 # 配置中心地址
group: DEFAULT_GROUP
namespace: ${spring.profiles.active}
config:
server-addr: 192.168.0.39:8848 # 配置中心地址
file-extension: yaml # 配置文件后缀yaml/properties
namespace: ${spring.profiles.active}
loadbalancer:
enabled: true
logging:
config: classpath:logback-${spring.profiles.active}.xml