one_mall/mall_modules/mall_server/target/classes/bootstrap.yml

39 lines
937 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Tomcat
server:
port: 9002
# Spring
spring:
rabbitmq:
host: 42.192.106.69
port: 5672
username: guest
password: guest
virtual-host: /
listener:
simple:
# 消息确认模式这里设置为手动确认manual即消费者需要手动确认消息的消费
acknowledge-mode: manual
main:
allow-circular-references: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
application:
# 应用名称
name: czk-list
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 42.192.106.69:8848
config:
# 配置中心地址
server-addr: 42.192.106.69:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}