39 lines
937 B
YAML
39 lines
937 B
YAML
# 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} |