MMPM is a package manager for the MagicMirror² Project.
For more info visit the Project Website.
❌ Some actions in the Control Center of MMPM are not supported. Functionality which needs access to the host (partially root access) is unwanted from inside a container.
docker commands without needing sudo please refer to the linux postinstall documentationdocker compose commands the compose plugin must be installed. If missing you find here instructions how to install it.MagicMirror² must run and the url must be reachable from the machine where mmpm is running.
It makes sense to run both applications as container, you can use my docker setup for MagicMirror² for this.
To add MMPM to the MagicMirror² docker setup you have to change one line in the magicmirror/run/.env file:
MM_MMPM="mmpm"
For more info head over to the MagicMirror² Docker Setup Documentation.
Copy the compose.yaml file in a directory of your pi, e.g. ~/mmpm
Adjust the compose.yaml file for your needs (see explanations as comments in the file).
For starting mmpm go into the directory with the compose.yaml file and execute docker compose up -d, for stopping execute docker compose down.
You can see the logs with docker logs mmpm.
The container is configured to restart automatically so after executing
docker compose up -dit will restart with every reboot of your pi.
While starting the MMPM container it will install MMPM as module in MagicMirror²:
modules folderconfig.js (if not already exists)If MagicMirror² is running while doing this the first time, it must be restarted to apply the changes.
Use a web browser for accessing the application under http://ip_of_your_pi:7890/, e.g. http://192.168.0.11:7890/.
After the first start you may have to update MMPM_MAGICMIRROR_URI, see this wiki for more information.
If you running both (MagicMirror² and MMPM) as container in the same network you should set "MMPM_MAGICMIRROR_URI": "http://mm:8080", where mm is the container name of MagicMirror² and 8080 the port of MagicMirror² (this is already the default when using the docker setup for MagicMirror²).
⚠️ The active modules page in the control center is not working until you restart both containers after a change of MMPM_MAGICMIRROR_URI. You can do this by running docker compose up -d --force-recreate from inside the ~/magicmirror/run folder.
⚠️ You may have to load MagicMirror² in the browser before loading MMPM-GUI (or refresh MMPM-GUI) to see active modules.
Content type
Image
Digest
sha256:d96d89777…
Size
124.7 MB
Last updated
2 days ago
docker pull karsten13/mmpm