• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Monocle docker on unraid [CLOSED]

    Support
    4
    26
    1330
    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.
    • D
      dkbishop last edited by Monocle

      Yeah, it was pretty easy to do. Here are my configs:

      Untitled.png

      And this you will need to correct to look like mine:

      Untitled.png

      You may need to create a monocle.properties file at the following location:
      /mnt/user/cache(or whatever you use here)/appdata/monocle
      monocle.properties:

      # ******************************************************************
      # *               MONOCLE GATEWAY CONFIGURATION FILE               *
      # ******************************************************************
      
      #--------------------------------------
      # RTSP SERVICE PROPERTIES
      #--------------------------------------
      `rtsp.host=192.168.1.50`
      `rtsp.port=8555`
      `rtsp.ssl.port=443`
      
      #--------------------------------------
      # RTSP PROXY PROPERTIES
      #--------------------------------------
      #rtsp.proxy.port=8554
      #rtsp.proxy.expire_minutes=10
      #rtsp.proxy.debug=false
      #rtsp.proxy.verbose=false
      #rtsp.proxy.log=false
      
      #--------------------------------------
      # RTSP SERVICE REGISTRATION OVERRIDES
      #--------------------------------------
      #rtsp.register.fqdn=
      `rtsp.register.host=192.168.1.50`
      `rtsp.register.port=443`
      
      #--------------------------------------
      # RTSP SSL CERTIFICATE & PRIVATE KEY
      #--------------------------------------
      #rtsp.ssl.cert=ssl-cert.pem
      #rtsp.ssl.key=ssl-key.pem
      

      Just uncomment the lines you need to use.

      You will also need to add another file called monocle.token. This is your API key from your monoclecam account. Just paste the API key into this file and you should be set after a restart of the container.

      Lastly, this is the icon i use as monocle doesnt have one currently for unraid. Just open advanced view in the docker config and paste the following in Icon URL (or host it yourself):
      https://images-na.ssl-images-amazon.com/images/I/41AK3vDKtmL.png

      Hope this helps!

      D 2 Replies Last reply Reply Quote 0
      • D
        dathomas85 @dkbishop last edited by

        @dkbishop life saver I’m guessing I change the 192.168 up address to we’re my cameras are on network. I have my api token I’ll give this a go.

        D 1 Reply Last reply Reply Quote 0
        • D
          dathomas85 @dkbishop last edited by

          @dkbishop You don’t by chance have traefik running as well do you I have this conflicting as both want to use port 443 and I can’t take traefik from 443

          1 Reply Last reply Reply Quote 0
          • D
            dkbishop @dathomas85 last edited by

            @dathomas85 you change that address to your NVR ip

            D 1 Reply Last reply Reply Quote 0
            • D
              dkbishop @dkbishop last edited by

              @dkbishop 443 is non negotiable for amazon so you have to use that port. Just port forward and use something like 4433 to 443. That should work. If not, maybe someone else could help you with that.

              On a side note, traefik looks pretty cool, but is there a need for it if you already have a hardware router?

              D 1 Reply Last reply Reply Quote 0
              • D
                dathomas85 @dkbishop last edited by

                @dkbishop yea it’s the same for traefik I tried changing the port to 4433 and I lose connections to all my dockers remotely. I use traefik to access my running dockers through a sub domain on my domain name. May have to set up a small linux vm just to run monocle if I can’t find a solution thanks for the help.

                D 1 Reply Last reply Reply Quote 0
                • D
                  dkbishop @dathomas85 last edited by dkbishop

                  @dathomas85 you change the external port to whatever you want (port 12345 for example) and keep the internal (container) port at 443. You may need to set monocle to bridge to get this to work…

                  Unless i am misunderstanding you, you could just as easy use reverse proxy (letsencrypt/nginx for example) and not have this port conflict and access all your containers that way. Thats what I do.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dathomas85 @dkbishop last edited by

                    @dkbishop yea I could probably setup reverse proxy with nginx I just transferred all my settings up from my Debian system that I had and traefik was what I used instead of reverse proxy as it was easier to use. I may try setting up monocle with a redirect on port 443 but I suspect that will cause a conflict as well. I’ve read there’s a few vulnerabilities with nginx on my plex servers groups I’m apart and can you use let’s encrypt or another certification mode can’t say I’ve looked into it much as I had a setup up and running without issues till I wanted to add my cameras to my Alexa ha.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dathomas85 @dathomas85 last edited by

                      @dathomas85 just missed over the letencrypt part u put there sorry did You use a specific walkthrough for setting it nginx up and can you use it with cloudflare going to have to start a bit of reading.

                      1 Reply Last reply Reply Quote 0
                      • D
                        dkbishop last edited by

                        You will be hard pressed to find something with zero vulnerabilities. And yeah, there is a great tutorial video that would get you all set. Letsencrypt also uses port 443 and it is fixed by port forwarding the same way I mentioned. If you like your setup, try that first. If you cant get that to work, then try this video:

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          dathomas85 @dkbishop last edited by

                          @dkbishop thanks I’ll give this a go I’ve jumped all in with unraid so need to do something ha. Enjoying it so far my trials over so I bought the license now so need to keep using it Debian was free but lost patience with it cheers

                          1 Reply Last reply Reply Quote 0
                          • D
                            dkbishop last edited by

                            I absolutely love unraid! Best of luck!

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              dathomas85 @dkbishop last edited by

                              @dkbishop thank you a heads up if anybody reads my issue with traefik was my own doing I’d changed the ports but forgot to change ports on router port forwarding changed them there and all is good thanks for the help I can now setup monocle on 443 and keep my setup as is bonus.

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                belljaf @dathomas85 last edited by

                                @dathomas85 could you clarify what you did, I have traefik running and trying to get the monocle gateway going as well but I thought both need access to port 443 externally. What ports did you forward?
                                Thanks

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Privacy Policy  |  Terms & Conditions

                                © 2018 shadeBlue, LLC.