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
Copy file name to clipboardExpand all lines: registry/coder/modules/jupyterlab/README.md
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
---
1
+
o---
2
2
display_name: JupyterLab
3
3
description: A module that adds JupyterLab in your Coder template.
4
4
icon: ../../../../.icons/jupyter.svg
@@ -23,15 +23,8 @@ module "jupyterlab" {
23
23
24
24
## Configuration
25
25
26
-
You can customize JupyterLab server settings by providing a JSON configuration:
27
-
28
-
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).
29
-
30
-
### Frame Embedding Configuration
31
-
32
-
To allow JupyterLab to be embedded in Coder's iframe:
26
+
JupyterLab is automatically configured to work with Coder's iframe embedding. For advanced configuration, you can use the `config` parameter to provide additional JupyterLab server settings according to the [JupyterLab configuration documentation](https://jupyter-server.readthedocs.io/en/latest/users/configuration.html).
33
27
34
-
**Set Content-Security-Policy for iframe embedding in Coder:**
35
28
```tf
36
29
module "jupyterlab" {
37
30
count = data.coder_workspace.me.start_count
@@ -40,11 +33,14 @@ module "jupyterlab" {
40
33
agent_id = coder_agent.example.id
41
34
config = {
42
35
ServerApp = {
36
+
# Required for Coder Tasks iFrame embedding - do not remove
0 commit comments