Files
xian_api_new/src/main/resources/application-dev.yml
T

57 lines
1.2 KiB
YAML
Raw Normal View History

2026-04-07 21:00:49 +08:00
# 端口
server:
port: 8081
2026-04-07 20:00:15 +08:00
# 开发环境配置
spring:
config:
2026-04-11 10:10:28 +08:00
import: classpath:config/database/application-database-dev.yml
2026-04-07 20:00:15 +08:00
# redis
data:
redis:
host: 47.92.216.173
port: 7655
password: zhangsan
database: 0
connect-timeout: 3000ms
# 日志配置
logging:
level:
root: INFO
pattern:
console: '%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{50} - %msg%n'
file: '%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{50} - %msg%n'
file:
name: ./logs/springboot-app.log
logback:
rollingpolicy:
file-name-pattern: ./logs/springboot-app-%d{yyyy-MM-dd}.%i.log
max-file-size: 100MB
max-history: 7
total-size-cap: 1GB
clean-history-on-start: true
# 安全配置
safety:
# 加解密过滤路径配置
crypto:
# 响应无需加密的路径
no-encrypt-paths:
- /crypto/sm2/public-key
- /druid
2026-05-18 17:26:00 +08:00
- /websocket/info
2026-05-18 10:17:02 +08:00
- /websocket/**
2026-04-07 20:00:15 +08:00
# 请求无需解密的路径
no-decrypt-paths:
- /crypto/sm2/public-key
2026-05-05 19:22:25 +08:00
- /druid
2026-05-18 17:26:00 +08:00
- /websocket/info
2026-05-18 10:17:02 +08:00
- /websocket/**
2026-05-05 19:22:25 +08:00
# 算法服务器配置
algorithm:
server:
# 开发环境算法服务器地址
url: http://localhost:8082