server: port: @server.port@ servlet: context-path: /ws spring: application: name: epdc-websocket-server # 环境 dev|test|prod profiles: active: @spring.profiles.active@ messages: encoding: UTF-8 basename: i18n/messages,i18n/messages_common jackson: time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss redis: database: @spring.redis.index@ host: @spring.redis.host@ timeout: 30s port: @spring.redis.port@ password: @spring.redis.password@ cloud: nacos: discovery: server-addr: @nacos.server-addr@ register-enabled: @nacos.register-enabled@ feign: hystrix: enabled: true httpclient: enabled: true hystrix: command: default: execution: isolation: thread: timeoutInMilliseconds: 60000 #缺省为1000 ribbon: ReadTimeout: 300000 ConnectTimeout: 300000 management: endpoints: web: exposure: include: "*" endpoint: health: show-details: ALWAYS jwt: token: #秘钥 secret: 7016867071f0ebf1c46f123eaaf4b9d6[elink.epdc] #token有效时长,默认7天,单位秒 expire: 604800