76 lines
1.8 KiB
YAML
76 lines
1.8 KiB
YAML
# 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 |