• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

1 server, 2 mirrors

Scheduled Pinned Locked Moved General Discussion
1 Posts 1 Posters 247 Views 1 Watching
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.
  • U Offline
    unreal4u
    last edited by Jun 4, 2020, 10:00 AM

    Sorry if this is a repeated question, but it is difficult to search for my query, mainly because “2 mirror” kind of clashes with “magic mirror 2” lol

    Up until now, I’ve been running a mirror for a few months already without any major issue. I run the server as a Docker image on a rpi4 with one dummy browser attached to it. Now I want to have a second mirror upstairs with a totally different layout, so my question is: I’m I better off creating another Docker instance or can I pass on a configuration file of some sort through the url?

    For example:
    example.com:8099 => first mirror, picks up the default config
    example.com:8099/?conf=upstairs => second mirror, combines default + custom ‘upstairs’ conf.

    Is this possible? My preferred solution would be to use the same instance because I’ll be using the same API credentials for some stuff (and the same engine behind it), so I would like to have my configs on 1 place, otherwise I’ll just create another instance listening to another port.

    Greetings.

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Enjoying MagicMirror? Please consider a donation!
    MagicMirror created by Michael Teeuw.
    Forum managed by Sam, technical setup by Karsten.
    This forum is using NodeBB as its core | Contributors
    Contact | Privacy Policy