docker-stacks/mosquitto
Alexey Skobkin c516ab170a
All checks were successful
continuous-integration/drone/pr Build is passing
mosquitto. Example config fix for persistence.
2024-11-08 12:28:46 +00:00
..
config mosquitto. Example config fix for persistence. 2024-11-08 12:28:46 +00:00
data mosquitto. draft (closes #94). 2024-11-07 23:35:30 +03:00
logs mosquitto. draft (closes #94). 2024-11-07 23:35:30 +03:00
.env.dist mosquitto. draft (closes #94). 2024-11-07 23:35:30 +03:00
docker-compose.yml mosquitto. draft (closes #94). 2024-11-07 23:35:30 +03:00
README.md Update mosquitto/README.md 2024-11-07 20:47:23 +00:00

Usage

Configuration

cp config/files/acls.dist config/files/acls
cp config/files/passwords.dist config/files/passwords
cp config/files/passwords.dist config/files/passwords
cp config/mosquitto.conf.dist config/mosquitto.conf
cp -r config/conf.d.dist config/conf.d

Edit configuration to suit your needs.

Passwords

To generate password hashes, you can use pw tool located at the /mosquitto/pw inside the container.

docker compose exec mosquitto sh
/mosquitto/pw --help
/mosquitto/pw -p MyPasswordString

ACL's

Refer to the documentation.