🦟 HTTP Authentication ready to use for Mosquitto as Docker image.
MQTT and Websocket is ready to use 💪
By default:
auth_opt_http_ipis equal to127.0.0.1, you can change it withHTTP_IPENV variable.auth_opt_http_portis equal to80, you can change it withHTTP_PORT.auth_opt_http_hostnameis equal tolocalhost, you can change it withHTTP_HOSTNAME.
Other parameters in Mosquitto configuration file:
auth_opt_http_getuser_uri /mqtt/auth
auth_opt_http_superuser_uri /mqtt/superuser
auth_opt_http_aclcheck_uri /mqtt/acl
$ docker pull ahmdrz/mosquitto:latest
$ docker run -p 9001:9001 -p 1883:1883 ahmdrz/mosquitto:latestYou can mount /var/lib/mosquitto/ to persist Mosquitto data.