Skip to content

Commit 30ad064

Browse files
authored
Merge pull request #165 from jrdnbradford/env-table
Add `JUPYTER_RSESSION_PROXY_USE_SOCKET` docs
2 parents 0a7b409 + 17f9fed commit 30ad064

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This extension used to proxy Shiny server as well, however that functionality ha
1616
### Pre-reqs
1717

1818
#### Install rstudio
19-
Use conda `conda install rstudio` or [download](https://www.rstudio.com/products/rstudio/download-server/) the corresponding package for your platform
19+
Use conda `conda install rstudio` or [download](https://www.rstudio.com/products/rstudio/download-server/) the corresponding package for your platform
2020

2121
Note that rstudio server is needed to work with this extension.
2222

@@ -44,8 +44,10 @@ This extension launches an rstudio server process from the jupyter notebook serv
4444
## Configuration with Environment Variables
4545
The following behavior can be configured with environment variables
4646

47-
| Environment Variable | Effect | Default Value | Notes
48-
| JUPYTER_RSESSION_PROXY_WWW_FRAME_ORIGIN | The value of the `www-frame-origin` flag to rserver | `same` | |
49-
| RSERVER_TIMEOUT | Idle timeout flag to rserver in minutes | 15 | must be numeric and positive |
50-
| RSESSION_TIMEOUT | Idle timeout flag to rsession in minutes | 15 | must be numeric and positive |
51-
| NB_USER | Fallback name of the Notebook user, if password database lookup fails | `getuser.getpass()` ||
47+
| Environment Variable | Effect | Default Value | Notes |
48+
|-------------------------------------------|-----------------------------------------------------------------------|---------------------|---------------------------------------------------------------------------|
49+
| `JUPYTER_RSESSION_PROXY_USE_SOCKET` | Use unix sockets instead of TCP sockets | `no` | Anything other than case insensitive `no` or `false` will use unix socket |
50+
| `JUPYTER_RSESSION_PROXY_WWW_FRAME_ORIGIN` | The value of the `www-frame-origin` flag to rserver | `same` | |
51+
| `RSERVER_TIMEOUT` | Idle timeout flag to rserver in minutes | `15` | Must be numeric and positive |
52+
| `RSESSION_TIMEOUT` | Idle timeout flag to rsession in minutes | `15` | Must be numeric and positive |
53+
| `NB_USER` | Fallback name of the Notebook user, if password database lookup fails | `getuser.getpass()` | |

0 commit comments

Comments
 (0)