chore: add dev configs and local infrastructure

This commit is contained in:
2026-07-06 17:22:58 +08:00
parent 6662a572e5
commit 285edf9927
4 changed files with 139 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/sino_mci?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: root
driver-class-name: com.mysql.cj.jdbc.Driver
data:
redis:
host: localhost
port: 6379
database: 0
rabbitmq:
host: localhost
port: 5672
username: guest
password: guest
flyway:
enabled: true
locations: classpath:db/migration
baseline-on-migrate: true

View File

@@ -0,0 +1,26 @@
server:
port: 8080
servlet:
context-path: /msg-platform
spring:
application:
name: mci-server
jackson:
default-property-inclusion: non_null
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
global-config:
db-config:
logic-delete-field: deleted
logic-delete-value: 1
logic-not-delete-value: 0
management:
endpoints:
web:
exposure:
include: health,info