vdi/nex-be/src/main/resources/application.yml

76 lines
1.8 KiB
YAML
Raw Normal View History

2025-08-05 09:22:16 +00:00
# application.yml
server:
2025-08-13 02:11:20 +00:00
port: 8113
2025-08-05 09:22:16 +00:00
file:
upload:
2025-08-13 01:16:41 +00:00
temp-dir: /var/lib/vdi/tmp/chunked-uploads
dir: /var/lib/vdi/test
bt-url: http://10.100.51.86:8114
image:
base-url: http://10.100.51.118:5173
status-url: /api/v1/vm/batch-status
create-url: /api/v1/vm/create
delete-url: /api/v1/vm/delete
update-url: /api/v1/vm/update
start-url: /api/v1/vm/start
2025-08-05 09:22:16 +00:00
spring:
servlet:
multipart:
2025-08-13 01:16:41 +00:00
max-file-size: 25MB
max-request-size: 25MB
2025-08-06 09:55:23 +00:00
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://10.100.51.86:5432/postgres?serverTimeZone=UTC
username: unis
password: unis@123
2025-08-13 01:16:41 +00:00
sql:
init:
mode: always
data-locations: classpath*:db/*.sql
jackson:
property-naming-strategy: SNAKE_CASE
2025-08-05 09:22:16 +00:00
knife4j:
production: false
basic:
2025-08-06 09:55:23 +00:00
enable: false
mybatis-plus:
mapper-locations: classpath*:mappers/*.xml
typeAliasesPackage: com.unisinsight.project.entity
global-config:
db-config:
logic-delete-value: 1
logic-not-delete-value: 0
logic-delete-field: deleted
id-type: auto
field-strategy: 0
db-column-underline: true
db-type: pgsql
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
grpc:
server:
# 指定Grpc暴露的端口后续客户端通过这个端口访问
port: 50051
# Feign 配置
feign:
client:
config:
external-api-client: # 对应 FeignClient 的 name
logger-level: full # 完整日志级别
default: # 全局默认配置
logger-level: basic
# 日志配置
logging:
level:
com.unisinsight.project.feign: debug # Feign 客户端包路径
2025-08-29 02:35:48 +00:00
com.unisinsight.project.feign.ExternalApiClient: debug
external:
api:
2025-09-01 08:38:16 +00:00
url: http://10.100.51.178:8000