代码初始化
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user