Mosquitto Docker Compose v2 #10
vvatelot
announced in
Announcements
Replies: 1 comment 1 reply
-
Can I use environment variables UID and PID inside the docker compose definition instead of defining them when I run docker compose up? I tried but it seems it keeps trying to chown the volumes to user 1883. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello to all, some time ago, @spagnoloG, @nixilb and @martinbra reported a bug in the use of this project. It took me a while to find out and I apologize. Thanks to them for insisting and proposing fixes!
So we upgraded the project from v1.0.0 to v2.0.0. v1.0.0 uses mosquitto 1.6 while v2.0.0 uses mosquitto 2.0. We also took advantage of this to change the structure of local volumes. To migrate from version 1 to version 2, here are the steps to follow:
sudo chown -R $UID:$GID log config
UID=$UID GID=$GID docker-compose up -d
Beta Was this translation helpful? Give feedback.
All reactions