YSHOP技术服务-二开/定制
YSHOP技术服务-二开/定制
提供YHSOP二次开发、问题修复、实施部署等技术服务;专业团队、耐心负责、靠谱售后。Tel/WeChat:18612982783

注册于 4年前

回答
3
文章
0
关注者
0

nacos配置:

management:  health:    rabbit:      enabled: false# Tomcatserver:  port: 9202# Springspring:  application:    # 应用名称    name: yshop-mall  profiles:    # 环境配置    active: dev  cloud:    nacos:      discovery:        # 服务注册地址        server-addr: 127.0.0.1:8848      config:        # 配置中心地址        server-addr: ${spring.cloud.nacos.discovery.server-addr}        # 配置文件格式        file-extension: yml        # 共享配置        shared-configs:          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}    stream:      binders:        yshop-rabbit-binder:          type: rabbit          environment:            spring:              rabbitmq:                host: 127.0.0.1                port: 5672                username: admin                password: xuzhimall@123                virtual-host: /  main:    allow-bean-definition-overriding: true

发布
问题