diff options
Diffstat (limited to 'mosquitto')
-rw-r--r-- | mosquitto/acl_file | 10 | ||||
-rw-r--r-- | mosquitto/dockerfile | 2 | ||||
-rw-r--r-- | mosquitto/mosquitto.conf | 3 | ||||
-rw-r--r-- | mosquitto/password_file | 3 |
4 files changed, 18 insertions, 0 deletions
diff --git a/mosquitto/acl_file b/mosquitto/acl_file new file mode 100644 index 0000000..ea24aa7 --- /dev/null +++ b/mosquitto/acl_file @@ -0,0 +1,10 @@ +topic read # + +user blaise +topic readwrite # + +user bertram +topic readwrite homie/# + +user wright +topic readwrite homie/#
\ No newline at end of file diff --git a/mosquitto/dockerfile b/mosquitto/dockerfile new file mode 100644 index 0000000..272a884 --- /dev/null +++ b/mosquitto/dockerfile @@ -0,0 +1,2 @@ +FROM eclipse-mosquitto +COPY . /mosquitto/config/
\ No newline at end of file diff --git a/mosquitto/mosquitto.conf b/mosquitto/mosquitto.conf new file mode 100644 index 0000000..83ca3b0 --- /dev/null +++ b/mosquitto/mosquitto.conf @@ -0,0 +1,3 @@ +acl_file /mosquitto/config/acl_file +allow_anonymous true +password_file /mosquitto/config/password_file
\ No newline at end of file diff --git a/mosquitto/password_file b/mosquitto/password_file new file mode 100644 index 0000000..351f01f --- /dev/null +++ b/mosquitto/password_file @@ -0,0 +1,3 @@ +blaise:$6$iBT2ov0mgSrG+lYu$U4yYZDLB592u48U4dBeIXCcG7gCLcF+wkoOMjtD2U0f1TmzMoUwjumO0j3qjG7qqfqLchIn1104E11OggyGZ+A== +bertram:$6$W+J9HvADoWxUYDHf$p/oYoJg7VDNwJaJtb9cdyu/m+TYzI0bhaok9jY0eqwMKGd1oP0NuOY6qJqMjklAwoggigwPxVbmHXVJrOj6uhQ== +wright:$6$AcOB+6Dp11IvqgpT$6MnWVY0E3KdMUTZXkwammbMhxeoWsKorW+bfHCulOXYL9x+Y7UG34SBQL5tPQeIMdNjyLpFaN4sF4haMm9HetA== |