This commit is contained in:
parent
e5fa8b4658
commit
e8e20af394
@ -7,12 +7,12 @@ resource "coder_app" "jupyter" {
|
|||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
name = "Jupyter"
|
name = "Jupyter"
|
||||||
icon = "/icon/jupyter.svg"
|
icon = "/icon/jupyter.svg"
|
||||||
url = "http://localhost:8888/lab"
|
url = "http://localhost:8888/@${data.coder_workspace.me.owner}/${data.coder_workspace.me.name}/apps/jupyter/"
|
||||||
subdomain = true
|
subdomain = true
|
||||||
share = "owner"
|
share = "owner"
|
||||||
|
|
||||||
healthcheck {
|
healthcheck {
|
||||||
url = "http://localhost:8888/api"
|
url = "http://localhost:8888/@${data.coder_workspace.me.owner}/${data.coder_workspace.me.name}/apps/jupyter/"
|
||||||
interval = 3
|
interval = 3
|
||||||
threshold = 10
|
threshold = 10
|
||||||
}
|
}
|
||||||
@ -26,7 +26,7 @@ resource "coder_app" "jupyter" {
|
|||||||
}
|
}
|
||||||
env {
|
env {
|
||||||
name = "NOTEBOOK_ARGS"
|
name = "NOTEBOOK_ARGS"
|
||||||
value = "--ServerApp.base_url=/ --ServerApp.token='' --ip='*'"
|
value = "--ServerApp.base_url=/@${data.coder_workspace.me.owner}/${data.coder_workspace.me.name}/apps/jupyter/ --ServerApp.token='' --ip='*'"
|
||||||
}
|
}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user