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

76 lines
1.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# application.yml
server:
port: 8113
file:
upload:
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
spring:
servlet:
multipart:
max-file-size: 25MB
max-request-size: 25MB
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://10.100.51.86:5432/postgres?serverTimeZone=UTC
username: unis
password: unis@123
sql:
init:
mode: always
data-locations: classpath*:db/*.sql
jackson:
property-naming-strategy: SNAKE_CASE
knife4j:
production: false
basic:
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 客户端包路径
com.unisinsight.project.feign.ExternalApiClient: debug
external:
api:
url: http://10.100.51.178:8000