# BEEB BEEB — Mosquitto broker (OMNI MQTT.JSON protocol)
# Start: mosquitto -c /home/beebbeeb/public_html/node/mosquitto/mosquitto.conf -v

pid_file /tmp/beebbeeb-mosquitto.pid

listener 1883 0.0.0.0
protocol mqtt

# Set MQTT_ALLOW_ANONYMOUS=false in .env and create passwd file for production.
allow_anonymous true

# password_file /home/beebbeeb/public_html/node/mosquitto/passwd
# acl_file /home/beebbeeb/public_html/node/mosquitto/acl

persistence true
persistence_location /home/beebbeeb/public_html/node/mosquitto/data/

log_dest stdout
log_type error
log_type warning
log_type notice
log_type information

max_connections 500
max_queued_messages 1000

# OMNI devices publish under om/client/* and subscribe to om/server/*
# Node bridge subscribes to om/client/# and publishes to om/server/#
