Closed trivialkettle closed 9 months ago
This is how I use it, for both mosquitto.conf
and passwd
.
I think it should also work to mount the current directory to avoid a breaking change:
- ./configuration/mosquitto/:/mosquitto/config/
Though then its not possible to mount data
and log
directory.
Thanks @trivialkettle this looks fine to me.
I think it should also work to mount the current directory to avoid a breaking change
I think I prefer it the original way. I'm not sure if I consider this a "breaking change". This repository contains an example that can be used to spin up a ChirpStack instance easily. This is also documented in the README
that this should be used as a starting-point, not as a ready-to-use production solution.
This makes it easier to add a ACL and passwd file. Also this approach syncs the docker and host file automagically for me.