spring: profiles: active: dev # 开发环境配置 server: # 服务器的Http端口,默认为8090 port: 8090 servlet: #应用的访问路径 context-path: / logging: level: ROOT: INFO com: xncoding: DEBUG file: /root/PubSvc/Logs/PubSvcAPI/HeartbeatServer.log system: # 短信 sms: # 是否发送短信 0 发送 1不发送 isSendSms: 1 # 短信地址 url: https://101.132.90.14/v2/sendSmsTp # 短信账户 userName: gdghhy # 短信密码 pwd: Gdgh1234 # 公司名称 signature: 【广东冠汇信息科技有限公司】 # 脚本执行成功模版Id tpIdSuccess: 48319 # 脚本执行失败模版Id tpIdError: 48327 # 发送到目标手机号 可以多个以;分割 mobiles: "13510693034;15815213711;18520822537" #mobiles: "15815213711;" netty: # 心跳目标服务地址 #url: '127.0.0.1' url: '172.17.0.1' # 心跳目标服务端口 #port: 7001 port: 7000 # 心跳检测时间间隔 time-seconds: 5 shell: # 是否启动自动执行脚本 0 执行 1不执行 isRunShell: 0 # 脚本 url: 'sh /root/PubSvc/Bin/restart-base.sh'