39 lines
1.4 KiB
YAML
Raw Normal View History

2025-05-28 17:25:07 +08:00
#############################################################################################################
# #
# 为了减少重复配置本配置文件为此sa-admin的独有配置更多配置请查看 sa-base 项目中的 sa-base.yaml 通用配置文件。 #
# 其中此文件中配置可以覆盖 sa-base.yaml 中的通用配置具体实现类请看类YamlProcessor.java #
# #
#############################################################################################################
# 项目配置: 名称、日志目录
project:
name: sa-admin
2025-07-14 10:19:40 +08:00
log-directory: /home/villager2/server/logs/smart_admin_v3/${project.name}/${spring.profiles.active}
2025-05-28 17:25:07 +08:00
# 项目端口和url根路径
server:
2025-07-14 10:19:40 +08:00
port: 1026
2025-05-28 17:25:07 +08:00
servlet:
context-path: /
# 环境
spring:
profiles:
active: '@profiles.active@'
#MQTT
mqtt:
username: admin
password: public
url: tcp://jxj.zhgdyun.com:1883
# 消费者和提供者对应的客户端id以及默认topic
producer:
clientId: mqttVillage
defaultTopic: assignmentNotice
#天气url
tianqiUrl: http://v1.yiketianqi.com
#天气appid
tianqiAppid: 68257872
#天气appsecret
tianqiAppsecret: q5ZoJkng