Replies: 1 comment 2 replies
-
My docker-compose is a little rusty... but if I remember correctly, the
If you want the mosquitto service to be available only to other containers in docker, You will need to omit the I would start here: https://docs.docker.com/compose/networking/ ... if you will allow me to be pedantic, requiring a username and password without also implementing encryption is not secure. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to access mosquitto from another docker container on the host system? But I do not want to expose mosquitto to the outside.
Or, alternatively, secure mosquitto with a login. So far, I secured mosquitto as of this. And used MQTT_USER and MQTT_PASSWORD in the docker-compose.yml.
Any ideas?
Michael
Beta Was this translation helpful? Give feedback.
All reactions