12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #
- # Copyright 2016-present Pnoker All Rights Reserved
- #
- # Licensed under the Apache License, Version 2.0 (the "License");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- # http://www.apache.org/licenses/LICENSE-2.0
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an "AS IS" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- #
- ## Networking
- listeners.tcp.default = 5672
- ## HTTP listener and embedded Web server settings.
- management.tcp.port = 15672
- ## On first start RabbitMQ will create a vhost and a user. These
- ## config items control what gets created.
- ## Relevant doc guide: https://rabbitmq.com/access-control.html
- ##
- default_vhost = dc3
- default_user = dc3
- default_pass = dc3
- # =======================================
- # MQTT section
- # =======================================
- ## TCP listener settings.
- mqtt.listeners.tcp.default = :::1883
- ## TLS listener settings
- mqtt.listeners.ssl.default = 8883
- ssl_options.password = dc3-server
- ssl_options.cacertfile = /data/rabbitmq/dc3/keys/ca.crt
- ssl_options.certfile = /data/rabbitmq/dc3/keys/server.crt
- ssl_options.keyfile = /data/rabbitmq/dc3/keys/server.key
- ## Set the default user name and password used for anonymous connections (when client
- ## provides no credentials). Anonymous connections are highly discouraged!
- mqtt.vhost = dc3
- mqtt.default_user = dc3
- mqtt.default_pass = dc3
- mqtt.allow_anonymous = false
- ## Specify the exchange to which messages from MQTT clients are published.
- mqtt.exchange = dc3.e.mqtt
|