fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Steve McMaster 2023-02-25 00:34:43 -05:00
parent 0dfa260b59
commit 333a70645c
2 changed files with 8 additions and 4 deletions

View File

@ -22,6 +22,8 @@ TEMPLATES = {
# "splunk-python": {"image": "cr.smcm.xyz/coder-images/python-38:latest"},
# },
"jupyter": {
"jupyter-base-notebook": {"image": "cr.smcm.xyz/coder-images/jupyter-base-notebook:latest"},
"jupyter-minimal-notebook": {"image": "cr.smcm.xyz/coder-images/jupyter-minimal-notebook:latest"},
"jupyter-scipy-notebook": {"image": "cr.smcm.xyz/coder-images/jupyter-scipy-notebook:latest"},
},
}

View File

@ -5,13 +5,15 @@
{% block coder_apps %}
resource "coder_app" "jupyter" {
agent_id = coder_agent.main.id
name = "jupyter"
slug = "jupyter"
name = "Jupyter"
icon = "/icon/jupyter.svg"
url = "http://localhost:8888/@${data.coder_workspace.me.owner}/${data.coder_workspace.me.name}/apps/jupyter/"
url = "http://localhost:8888"
subdomain = true
share = "owner"
healthcheck {
url = "http://localhost:8888/@${data.coder_workspace.me.owner}/${data.coder_workspace.me.name}/apps/jupyter/"
url = "http://localhost:8888/healthz"
interval = 3
threshold = 10
}
@ -25,7 +27,7 @@ resource "coder_app" "jupyter" {
}
env {
name = "NOTEBOOK_ARGS"
value = "--ServerApp.base_url=/@${data.coder_workspace.me.owner}/${data.coder_workspace.me.name}/apps/jupyter/ --ServerApp.token='' --ip='*'"
value = "--ServerApp.token='' --ip='*'"
}
{{ super() }}
{% endblock %}