New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the right way to configure eclipse-mosquitto in a docker-compose file so that it uses a mosquitto.conf file in a volume? #2512
Comments
I have mine setup like this: mosquitto:
image: eclipse-mosquitto
container_name: mosquitto_broker
volumes:
- ./mosquitto/:/mosquitto/:rw
ports:
- 1883:1883
- 9001:9001
networks:
- default and then a folder structure like this:
|
Who are the owners and what are the permissions on the files? That appears to be where my system is stumbling. |
I tried your config. (All files owned by root with normal permissions:
|
yeah, that's weird. everyone on my team is doing the same thing with no permission problems. have you tried running |
No matter how I configure my
docker-compose.yml
file in order to run eclipse-mostquitto using a custom mosquitto.conf file, I keep getting a variation on the following error message:I've tried ever suggestion in #1078 but I keep getting that error.
Is there an 'official' supported way to configure eclipse-mosquitto as a member of a docker-compose?
The text was updated successfully, but these errors were encountered: