fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2023-02-25 00:19:21 -05:00
parent e5fa8b4658
commit e8e20af394

View File

@ -7,12 +7,12 @@ resource "coder_app" "jupyter" {
agent_id = coder_agent.main.id
name = "Jupyter"
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
share = "owner"
healthcheck {
url = "http://localhost:8888/api"
url = "http://localhost:8888/@${data.coder_workspace.me.owner}/${data.coder_workspace.me.name}/apps/jupyter/"
interval = 3
threshold = 10
}
@ -26,7 +26,7 @@ resource "coder_app" "jupyter" {
}
env {
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() }}
{% endblock %}