template as extension to the config file ( config.js.template) and use shell variable syntax ( $) as placeholder for your secrets in the config file.ĭon't forget to pass the template variables as environment to the container. To keep passwords and API secrets out of the config file add. This config can then be adapted to your likings. If you start the container without providing a custom configuration it will create a default config inside the config volume if it is empty. Specify a branch or tag of the MagicMirror repository which should be used for building the image. If you run your docker on other OS, you will need to change this. Otherwise Docker will create a custom.css folder.Īdd this to syncronize the time of the host with the docker container. Important: You need to create the file before you run the container. Mount this file to add your own custom css into the docker container. If the folder is empty the container will copy the default modules from the MagicMirror² repository into the volume. Mount this folder to add your own custom modules into the docker container. If the folder is empty the container will create a default configuration which can be adapted to you likings. Mount this folder to insert your own config into the docker container. Without the correct time zone the MagicMirror² calendar or other modules might show the wrong time of an event. Let the environment variable TZ reflect the time zone. volume /etc/localtime:/etc/localtime:ro \īastilimbach/docker-magicmirror Environment variablesĮnvironment variables can be passed to the docker container using the -env flag. volume ~/magic_mirror/modules:/opt/magic_mirror/modules \ MagicMirror is built by the creator of the original MagicMirror with the incredible help of a growing community of contributors. With a growing list of installable modules, the MagicMirror allows you to convert your hallway or bathroom mirror into your personal assistant. volume ~/magic_mirror/config:/opt/magic_mirror/config \ MagicMirror is an open source modular smart mirror platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |