add path to shared object in docker configuration

This commit is contained in:
Yamenk Gribaudo 2022-12-17 19:10:41 -03:00
parent 06df2d9b3e
commit 8a106e26f5
1 changed files with 3 additions and 0 deletions

View File

@ -1572,6 +1572,9 @@ Prebuilt images are provided on Dockerhub under [iegomez/mosquitto-go-auth](http
To run the latest image, use the following command and replace `/conf` with the location of your `.conf` files:
`docker run -it -p 1884:1884 -p 1883:1883 -v /conf:/etc/mosquitto iegomez/mosquitto-go-auth`
You should also add the neccesary configuration to your .conf and update the path of the shared object:
```auth_plugin /mosquitto/go-auth.so```
#### Building images
This project provides a Dockerfile for building a Docker container that contains `mosquitto` and the `mosquitto-go-auth` plug-in.