Files
mqtt-5-test/deploy/mosquitto.conf
T
Ryan 71ef622b4f
Test and deploy MQTT backend / test (push) Successful in 2m8s
Test and deploy MQTT backend / deploy (push) Successful in 18s
Deploy MQTT test backend with private viewer and Gitea CI/CD
2026-10-08 14:48:53 +03:30

35 lines
987 B
Plaintext

# Functional test broker: authenticated clients may publish/subscribe to any topic.
# Both plaintext and TLS listeners share password authentication; no topic ACL.
allow_anonymous false
global_plugin /usr/lib/mosquitto_password_file.so
plugin_opt_password_file /run/mqtt-secrets/passwords
persistence true
persistence_location /mosquitto/data/
persistence_file mosquitto.db
autosave_interval 30
max_queued_messages 256
max_queued_bytes 4194304
max_inflight_messages 20
max_packet_size 32768
message_size_limit 16384
global_max_clients 64
queue_qos0_messages false
log_dest stdout
log_type error
log_type warning
log_type notice
connection_messages true
listener 8883
protocol mqtt
certfile /mosquitto/certs/server.crt
keyfile /mosquitto/certs/server.key
# Username/password authentication; clients verify this server's certificate.
require_certificate false
tls_version tlsv1.2
# Not published on the host unless the insecure Compose override is included.
listener 1883
protocol mqtt