Jump to content

Making docker web gui's accessible from the internet


mostlydave

Recommended Posts

Has anyone found a way to make the web gui's for their running docker apps accessible via the internet, preferably served up securely by the unraid server? Currently when I want to access my docker apps remotely I use teamviewer to remote into a PC on my network and access from there, is that what everyone else is doing as well? Is there a better way?

Link to comment

Has anyone found a way to make the web gui's for their running docker apps accessible via the internet, preferably served up securely by the unraid server? Currently when I want to access my docker apps remotely I use teamviewer to remote into a PC on my network and access from there, is that what everyone else is doing as well? Is there a better way?

 

unRAID's webGUI is not made to face the internet.  Its security really isn't strong at all (wasn't designed to be).  VPN is the best Option.

Link to comment

reverseproxy with ssl and .htpassword.  I bought a domain and setup a reverse proxy and ssl certificates for my domain and use .htpasswords.  Smdion has some pretty good guides on how to do it all, here.

 

I got stuck in a .htpasswd loop when I tried that.. what config did you use?

Link to comment

reverseproxy with ssl and .htpassword.  I bought a domain and setup a reverse proxy and ssl certificates for my domain and use .htpasswords.  Smdion has some pretty good guides on how to do it all, here.

 

I got stuck in a .htpasswd loop when I tried that.. what config did you use?

What do you mean?  No problems with it here.
Link to comment

Here is my config file.

<VirtualHost *:443>
        ServerName domainName.com
        ServerAlias domainName.com
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www        
       
        SSLEngine on
        SSLProtocol all -SSLv2
        SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
        SSLCertificateFile /config/sslv2/ssl.crt
        SSLCertificateKeyFile /config/sslv2/private-decrypted-ssl.key
        SSLCertificateChainFile /config/sslv2/sub.class1.server.ca.pem


       
        <Location /couchpotato>
                ProxyPass http://192.168.1.5:5050/couchpotato
                ProxyPassReverse http://192.168.1.5:5050/couchpotato
                AuthUserFile /config/.htpasswd
                AuthType Basic
                AuthName "CouchPotato - Proxy"
                Require user userName
        </Location>

        <Location /sonarr>
                ProxyPass http://192.168.1.5:8989/sonarr
                ProxyPassReverse http://192.168.1.5:8989/sonarr
                AuthUserFile /config/.htpasswd
                AuthType Basic
                AuthName "NZBDrone - Proxy"
                Require user userName
        </Location>

        <Location /nzbget>
                ProxyPass http://192.168.1.5:6789/nzbget
                ProxyPassReverse http://192.168.1.5:6789/nzbget
                AuthUserFile /config/.htpasswd
                AuthType Basic
                AuthName "Nzbget - Proxy"
                Require user userName
        </Location>


</VirtualHost>

Link to comment

Here is my config file.

<VirtualHost *:443>
        ServerName domainName.com
        ServerAlias domainName.com
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www        
       
        SSLEngine on
        SSLProtocol all -SSLv2
        SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
        SSLCertificateFile /config/sslv2/ssl.crt
        SSLCertificateKeyFile /config/sslv2/private-decrypted-ssl.key
        SSLCertificateChainFile /config/sslv2/sub.class1.server.ca.pem


       
        <Location /couchpotato>
                ProxyPass http://192.168.1.5:5050/couchpotato
                ProxyPassReverse http://192.168.1.5:5050/couchpotato
                AuthUserFile /config/.htpasswd
                AuthType Basic
                AuthName "CouchPotato - Proxy"
                Require user userName
        </Location>

        <Location /sonarr>
                ProxyPass http://192.168.1.5:8989/sonarr
                ProxyPassReverse http://192.168.1.5:8989/sonarr
                AuthUserFile /config/.htpasswd
                AuthType Basic
                AuthName "NZBDrone - Proxy"
                Require user userName
        </Location>

        <Location /nzbget>
                ProxyPass http://192.168.1.5:6789/nzbget
                ProxyPassReverse http://192.168.1.5:6789/nzbget
                AuthUserFile /config/.htpasswd
                AuthType Basic
                AuthName "Nzbget - Proxy"
                Require user userName
        </Location>


</VirtualHost>

 

Where did you pass thru unRAIDs WebGUI?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...