This repository has been archived on 2026-01-10. You can view files and clone it, but cannot push or open issues or pull requests.
coder-templates/jupyter.tf.jinja
Steve McMaster 534927e112
All checks were successful
continuous-integration/drone/push Build is passing
test
2023-02-24 23:11:04 -05:00

33 lines
691 B
Django/Jinja

{% extends "base.tf.jinja" %}
{% block coder_apps %}
resource "coder_app" "jupyter" {
agent_id = coder_agent.main.id
name = "Jupyter"
icon = "/icon/jupyter.svg"
url = "http://localhost:8888/lab"
subdomain = true
share = "public"
healthcheck {
url = "http://localhost:8888/lab"
interval = 3
threshold = 10
}
}
{% endblock %}
{% block kubernetes_pod_main_env %}
env {
name = "DOCKER_STACKS_JUPYTER_CMD"
value = "lab"
}
env {
name = "NOTEBOOK_ARGS"
value = "--ServerApp.token='' --ip='*'"
}
{{ super() }}
{% endblock %}
{% block post_startup_script_setup_home %}
{% endblock %}