You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `config` parameter accepts a map of configuration settings that will be written to `~/.jupyter/jupyter_server_config.json` before JupyterLab starts. This allows you to configure any JupyterLab server settings according to the [JupyterLab configuration documentation](https://jupyter-server.readthedocs.io/en/latest/users/configuration.html).
47
29
48
-
### Common Configuration Examples
30
+
### Frame Embedding Configuration
49
31
50
-
**Disable authentication:**
51
-
```tf
52
-
config = {
53
-
ServerApp = {
54
-
token = ""
55
-
password = ""
56
-
}
57
-
}
58
-
```
59
-
60
-
**Set custom port and allow all origins:**
61
-
```tf
62
-
config = {
63
-
ServerApp = {
64
-
port = 9999
65
-
allow_origin = "*"
66
-
}
67
-
}
68
-
```
69
-
70
-
**Configure notebook directory:**
71
-
```tf
72
-
config = {
73
-
ServerApp = {
74
-
root_dir = "/workspace/notebooks"
75
-
}
76
-
}
77
-
```
32
+
To allow JupyterLab to be embedded in Coder's iframe:
78
33
79
34
**Set Content-Security-Policy for iframe embedding in Coder:**
0 commit comments