[Support] binhex - Rider


binhex

Recommended Posts

Overview: Support for Docker image arch-rider in the binhex repo.

Application: Rider- https://www.jetbrains.com/rider/

Docker Hub: https://hub.docker.com/r/binhex/arch-rider/

GitHubhttps://github.com/binhex/arch-rider

Documentationhttps://github.com/binhex/documentation

 

Note:- This application requires a licence, otherwise it will run in Evaluation Mode for 30 days.
 

If you appreciate my work, then please consider buying me a beer

 

btn_donate_SM.gif&key=57f6b617e37a194c35

 

For other Docker support threads and requests, news and Docker template support for the binhex repository please use the "General" thread here

Edited by binhex
Link to comment

Hey @binhex,

 

As usual for your containers, it all seems to be working swimmingly! I did want to ask though, if you had dabbled at all in adding the container to nginx and/or through organizr. I seem to be able to get to a noVNC error page once I get it added to the config files, but can't get it to the interface itself. 

This is obviously stretching to the point of possible irrelevancy for this thread, but, wanted to ask, just in case!

 

Thanks!

 

# RIDER reverse proxy
location /rider {
        proxy_pass http://192.168.86.63:6080/vnc.html?resize=remote&host=192.168.86.63&port=6080&autoconnect=1;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";

        index vnc.html;
        alias /path/to/noVNC/;
        try_files $uri $uri/ /vnc.html;
}

 

chrome_2019-01-06_12-56-25.png

Link to comment
14 hours ago, omninewb said:

I did want to ask though, if you had dabbled at all in adding the container to nginx and/or through organizr.

sorry, i have literally zero experience with reverse proxy stuff, you are probably best asking over on the support thread for nginx/organizr and see if they have any suggestions.

Link to comment
  • 2 weeks later...
On 1/7/2019 at 8:16 AM, omninewb said:

It's all good man, like I said, the docker itself is running perfectly and I have no issues at all, just looking to expand functionality a bit through that remote access.

 

Thanks for another great product!

Is your Rider config inside the default config of letsencrypt? or are you using something else? I don't use Rider but when I created my Seafile config for letsencrypt and nginx I had to create a separate config file just for Seafile and setup my proxy as seafile.DomainName.com. You should be able to reverse proxy any docker container although it may take more tweaking for Rider. I have Pycharm and if I get that to reverse proxy it should be similar, I will let you know.

Link to comment
On 1/16/2019 at 3:57 PM, ucliker said:

Is your Rider config inside the default config of letsencrypt? or are you using something else? I don't use Rider but when I created my Seafile config for letsencrypt and nginx I had to create a separate config file just for Seafile and setup my proxy as seafile.DomainName.com. You should be able to reverse proxy any docker container although it may take more tweaking for Rider. I have Pycharm and if I get that to reverse proxy it should be similar, I will let you know.

I appreciate you letting me know, and I had tried a bunch of different setups in my attempts to get it routed through, the closest I got was in my setup up above, posted again here for posterity: 

In my default config: 

location /rider {
auth_request /auth-1;
include /config/nginx/proxy-confs/rider.conf;
}

and in the rider.conf:

# RIDER reverse proxy
location /rider {
        proxy_pass http://192.168.86.63:6080/vnc.html?resize=remote&host=192.168.86.63&port=6080&autoconnect=1;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";

        index vnc.html;
        alias /path/to/noVNC/;
        try_files $uri $uri/ /vnc.html;
}

with the result being that noVNC error page. It's definitely connecting to the docker image, just not connecting all the way through the noVNC portion, some nginx pass-through setting somethingorother I assume but don't pretend to understand, ha!

Link to comment
  • 8 months later...

I got it working with letsencrypt with the following: (subdomain)

# make sure that your dns has a cname set for code-server

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name rider.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    # enable for ldap auth, fill in ldap details in ldap.conf
    #include /config/nginx/ldap.conf;

location / {
        # enable the next two lines for http auth
        #auth_basic "Restricted";
        #auth_basic_user_file /config/nginx/.htpasswd;

        # enable the next two lines for ldap auth
        #auth_request /auth;
        #error_page 401 =200 /login;

        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_rider binhex-rider;
        proxy_pass http://$upstream_rider:6080/vnc.html?resize=remote&autoconnect=1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection upgrade;
    }
}

set $upstream_rider binhex-rider;  =  binhex-rider is the name of the Docker cointainer

after that I had to delete cache and hard reload in Chrome and it worked.

Thanks binhex for this docker

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.