59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
# Tomcat
|
||
server:
|
||
port: 9004
|
||
# Spring
|
||
spring:
|
||
rabbitmq:
|
||
host: 111.229.234.119
|
||
port: 5672
|
||
userName: guest
|
||
password: guest
|
||
listener:
|
||
simple:
|
||
prefetch: 1
|
||
publisher-confirm-type: correlated
|
||
publisher-returns: true
|
||
main:
|
||
allow-circular-references: true
|
||
jackson:
|
||
date-format: yyyy-MM-dd HH:mm:ss
|
||
time-zone: GMT+8
|
||
application:
|
||
# 应用名称
|
||
name: bwie-sell
|
||
profiles:
|
||
# 环境配置
|
||
active: dev
|
||
cloud:
|
||
sentinel:
|
||
transport:
|
||
# 控制台地址
|
||
#sentinel 地址不需要改动
|
||
dashboard: 127.0.0.1:8080
|
||
# 指定sentinel控制台获取应用数据的端口,被占用会端口号默认 +1
|
||
port: 8719
|
||
nacos:
|
||
discovery:
|
||
# 服务注册地址
|
||
server-addr: 111.229.234.119:8848
|
||
config:
|
||
# 配置中心地址
|
||
server-addr: 111.229.234.119:8848
|
||
# 配置文件格式
|
||
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: 111.229.234.119:22122
|
||
web-server-url: 111.229.234.119:8888
|
||
pool:
|
||
jmx-enabled: false
|
||
# 生成缩略图
|
||
thumb-image:
|
||
height: 500
|
||
width: 500
|