You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.4 KiB
Properties
48 lines
1.4 KiB
Properties
#Global
|
|
global.encoding=UTF-8
|
|
global.locale=zh_CN
|
|
|
|
#application.sign,application.index\u90FD\u4E0D\u80FD\u91CD\u590D
|
|
application.name=foodWaiMai
|
|
application.owner=
|
|
application.sign=1
|
|
application.description=${application.name}
|
|
application.index=0
|
|
|
|
#\u6CE8\u518C\u4E2D\u5FC3
|
|
zk.connect=127.0.0.1:2181
|
|
# curator or zkclient
|
|
zk.client=curator
|
|
|
|
#dubbo\u670D\u52A1
|
|
reference.version=2.0.0
|
|
reference.group=default
|
|
reference.timeout=600000
|
|
reference.retries=1
|
|
|
|
#dubbo cache address
|
|
dubbo.cache.address=/home/project/food/dubbo/food-waimai-web.cache
|
|
|
|
# EMBEDDED SERVER CONFIGURATION (ServerProperties)
|
|
server.port=8200
|
|
server.servlet.context-path=/foodWaiMai
|
|
server.compression.enabled=true
|
|
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml
|
|
server.compression.min-response-size=2048
|
|
|
|
# FREEMARKER (FreeMarkerProperties)
|
|
spring.freemarker.cache=false
|
|
spring.freemarker.charset=${global.encoding}
|
|
spring.freemarker.settings.template_exception_handler=com.jwsaas.freemarker.DefaultTemplateExceptionHandler
|
|
spring.freemarker.settings.auto_import=spring.ftl as spring
|
|
|
|
# INTERNATIONALIZATION (MessageSourceProperties)
|
|
spring.messages.basename=i18n/messages
|
|
|
|
#RabbitMQ
|
|
spring.rabbitmq.host=192.168.0.110
|
|
spring.rabbitmq.port=5672
|
|
spring.rabbitmq.virtual-host=/dev_test
|
|
spring.rabbitmq.publisher-confirms=true
|
|
spring.rabbitmq.username=dev
|
|
spring.rabbitmq.password=dev |