# Tomcat server: port: 9004 # Spring spring: main: allow-circular-references: true jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 application: # 应用名称 name: bwie-system profiles: # 环境配置 active: dev cloud: nacos: discovery: # 服务注册地址 server-addr: 129.211.23.219:8848 config: # 配置中心地址 server-addr: 129.211.23.219:8848 # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} rabbitmq: host: 129.211.23.219 port: 5672 username: guest password: guest virtual-host: / publisher-confirm-type: correlated #确认消息已发送到交换机(Exchange) publisher-returns: true #确认消息已发送到队列(Queue) listener: simple: prefetch: 1 # 每次只能获取一条,处理完成才能获取下一条 #acknowledge-mode: manual # 设置消费端手动ack确认 retry: enabled: true # 是否支持重试 template: # 只要消息抵达Queue,就会异步发送优先回调return firm mandatory: true redis: host: 129.211.23.219 fdfs: so-timeout: 1500 # socket 连接时长 connect-timeout: 600 # 连接 tracker 服务器超时时长 upload # 这两个是你服务器的 IP 地址,注意 23000 端口也要打开,阿里云服务器记得配置安全组。tracker 要和 stroage 服务进行交流 tracker-list: 129.211.23.219:22122 web-server-url: 129.211.23.219:8888 pool: jmx-enabled: false # 生成缩略图 thumb-image: height: 500 width: 500