MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MagicMirror on Docker - config.js issues

    Troubleshooting
    2
    4
    1571
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      magnusoverli last edited by

      Hi all!

      First try with MagicMirror this…

      Having had some issues running MagicMirror on a Rpi3 (raspbian-lite) I decided to to try docker. After setting it up and getting it running I run into the usual issue of editing the ipWhitelist. Whenever I edit this file and restarts the container, MagicMirror replaces my config.json with a new config.json.sample. It is also not reachable on the network anymore. I would really appreciate if someone could help me along here! 🙂

      Best
      Magnus

      1 Reply Last reply Reply Quote 0
      • cruunnerr
        cruunnerr last edited by cruunnerr

        try also delete the “on” at the end of the file name 🙂
        just:

        config.js

        And what is your exact config looks like? Maybe try this first:

        var config = {
                address: "0.0.0.0", // Address to listen on, can be:
                                      // - "localhost", "127.0.0.1", "::1" to listen on lo$
                                      // - another specific IPv4/6 to listen on a specific$
                                      // - "", "0.0.0.0", "::" to listen on any interface
                                      // Default, when address config is left out, is "loc$
                port: 8080,
                ipWhitelist: [], // Set [] to allow all IP addresses
                                                                       // or add a specifi$
                                                                       // ["127.0.0.1", ":$
                                                                       // or IPv4 range of$
                                                                       // ["127.0.0.1", ":$
        
        1 Reply Last reply Reply Quote 0
        • M
          magnusoverli last edited by

          Thank you so much!!

          The filename was a typo in my post, but changing the listen address solved my issues!

          Now on to figuring out how to actually use MM! 🙂

          1 Reply Last reply Reply Quote 0
          • cruunnerr
            cruunnerr last edited by

            you’re welcome. Enjoy it and have fun 😃

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy