Merge pull request #254 from yamenk-gribaudo/docker-documentation_update

Add path to shared object in docker configuration
This commit is contained in:
Ignacio Gómez 2023-01-03 18:27:17 -03:00 committed by GitHub
commit afdc95fbfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1538,6 +1538,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.