git_test/bwie-modules/bwie-product/src/main/resources/bootstrap.yml

59 lines
1.5 KiB
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: 9003
# Spring
spring:
main:
allow-circular-references: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
application:
# 应用名称
name: bwie-product
profiles:
# 环境配置
active: dev
rabbitmq:
host: 101.34.249.114
namespace: a1303f6e-570b-4f04-b78e-cab8002a3ce6
port: 5672
username: guest
password: guest
virtualHost: /
listener:
simple:
prefetch: 1
acknowledge-mode: manual
retry:
enabledtrue
publisher-confirm-type: correlated
publisher-returns: true
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 101.34.249.114:8848
namespace: a1303f6e-570b-4f04-b78e-cab8002a3ce6
config:
# 配置中心地址
server-addr: 101.34.249.114:8848
namespace: a1303f6e-570b-4f04-b78e-cab8002a3ce6
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
fdfs:
so-timeout: 1500 # socket 连接时长
connect-timeout: 600 # 连接 tracker 服务器超时时长
# 这两个是你服务器的 IP 地址,注意 23000 端口也要打开阿里云服务器记得配置安全组。tracker 要和 stroage 服务进行交流
tracker-list: 101.34.249.114:22122
web-server-url: 101.34.249.114:8888
pool:
jmx-enabled: false
# 生成缩略图
thumb-image:
height: 500
width: 500