代码初始化

This commit is contained in:
2026-05-07 15:54:43 +08:00
parent a078ca46e5
commit 3522f1011f
274 changed files with 15704 additions and 0 deletions
@@ -0,0 +1,17 @@
# 公共入口:按 spring.profiles.active 叠加 application-{profile}.yml
# 开发默认:未设置环境变量 SPRING_PROFILES_ACTIVE 时使用 dev
spring:
application:
name: server-module
profiles:
active: ${SPRING_PROFILES_ACTIVE:dev}
# 与运行环境无关的业务默认(可被各 profile 覆盖)
app:
mongo:
collection: demo_payload
save:
interval-ms: 15000
module:
player-id: 900001
tick-interval-ms: 8000