server: port: 8080 serlvet: context-type:/inference #设置当前服务名 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/inference_game?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC username: root password: root type: com.alibaba.druid.pool.DruidDataSource druid: initial-size: 5 min-idle: 5 max-active: 20 max-wait: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接 time-between-eviction-runs-millis: 20000 #配置一个连接在池中最小生存的时间 min-evictable-idle-time-millis: 300000 #redis配置 redis: host: localhost port: 6379 # password: dgKNTmt2iLHNjEQajkDEZkq8 pool: max-active: 8 max-wait: -1 max-idle: 8 min-idle: 0 timeout: 5000 #对话过期时间 expireTime: 180000 #redis的key过期时间 redisExpireTime: 360000 #玩家无操作时长,默认下线 offlineTime: 180000 dataFilePath: /home/jiaoyou/projects/inferenceGame/data/ configFilePath: /home/jiaoyou/projects/inferenceGame/config/ userFilePath: /home/jiaoyou/projects/inferenceGame/user/ #花仙系统的请求链接 gardenSysUrl: http://127.0.0.1:8082