This commit is contained in:
parent
91c7221ade
commit
02c6987be1
@ -5,7 +5,7 @@
|
|||||||
{% block coder_apps %}
|
{% block coder_apps %}
|
||||||
resource "coder_app" "jupyter" {
|
resource "coder_app" "jupyter" {
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
display_name = "Jupyter notebook"
|
display_name = "Jupyter lab"
|
||||||
slug = "jupyter"
|
slug = "jupyter"
|
||||||
icon = "/icon/jupyter.svg"
|
icon = "/icon/jupyter.svg"
|
||||||
url = "http://localhost:8888/"
|
url = "http://localhost:8888/"
|
||||||
@ -23,11 +23,11 @@ resource "coder_app" "jupyter" {
|
|||||||
{% block kubernetes_pod_main_env %}
|
{% block kubernetes_pod_main_env %}
|
||||||
env {
|
env {
|
||||||
name = "DOCKER_STACKS_JUPYTER_CMD"
|
name = "DOCKER_STACKS_JUPYTER_CMD"
|
||||||
value = "notebook"
|
value = "lab"
|
||||||
}
|
}
|
||||||
env {
|
env {
|
||||||
name = "NOTEBOOK_ARGS"
|
name = "NOTEBOOK_ARGS"
|
||||||
value = "--no-browser --NotebookApp.token='' --ip='*'"
|
value = "--no-browser --ServerApp.token='' --ip='*'"
|
||||||
}
|
}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user