Skip to content
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

Persistence of config in mosquitto #634

Open
4 tasks
pgulb opened this issue Mar 1, 2024 · 0 comments
Open
4 tasks

Persistence of config in mosquitto #634

pgulb opened this issue Mar 1, 2024 · 0 comments
Assignees
Labels
user story User story

Comments

@pgulb
Copy link

pgulb commented Mar 1, 2024

User story

As a wis2box admin, I use commands like
mosquitto_passwd -b /mosquitto/config/password.txt username pass
to create users (additional users for GBs to provide clearer logs to see if there are problems with connection for GBs)
and echo -e "\n\nuser username\ntopic read origin/#" >> /mosquitto/config/acl.conf
to create permissions for a user.
The problem is when upgrading to next version, I need to use same commands again to create users, then restart mosquitto.
I think it could be resolved for me and other who issue changes to mosquitto config, by creating a volume at /mosquitto/config directory of mosquitto container.
It would also better reflect containerization idea and let administrator destroy and recreate a container with mosquitto and retain its configuration.

Acceptance criteria

  • Mosquitto config persistence after upgrade/removal/recreation of container

Definition of done

  • unit/functional tests added/updated
  • documentation updated
  • live demonstration provided
@maaikelimper maaikelimper added the user story User story label Mar 1, 2024
@maaikelimper maaikelimper self-assigned this Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user story User story
Projects
None yet
Development

No branches or pull requests

2 participants