diff --git a/.drone.star b/.drone.star index 6110401..fd7ee7c 100644 --- a/.drone.star +++ b/.drone.star @@ -68,7 +68,7 @@ def main(ctx): }, "commands": [ "apk add git", - "wget -q -O- {url} | tar -xzf - -C /usr/local/bin ./coder".format(url = CODER_URL), + "wget -q -O- {url} | tar -xzf - -C /usr/local/bin ./coder".format(url = CODER_URL) " || ".join([ "coder templates push -d {name} --yes {name}".format(name = coder_template), "coder templates create -d {name} --yes {name}".format(name = coder_template), diff --git a/base.tf.jinja b/base.tf.jinja index b838ad0..ac9c86c 100644 --- a/base.tf.jinja +++ b/base.tf.jinja @@ -3,7 +3,7 @@ terraform { required_providers { coder = { source = "coder/coder" - version = "0.5.3" + version = "0.6.14" } kubernetes = { source = "hashicorp/kubernetes" diff --git a/jupyter.tf.jinja b/jupyter.tf.jinja index 230b00d..bf79a8d 100644 --- a/jupyter.tf.jinja +++ b/jupyter.tf.jinja @@ -6,13 +6,14 @@ resource "coder_app" "jupyter" { agent_id = coder_agent.main.id name = "Jupyter" + slug = "jupyter" icon = "/icon/jupyter.svg" - url = "http://localhost:8888" + url = "http://localhost:8888/" subdomain = true share = "owner" healthcheck { - url = "http://localhost:8888/healthz" + url = "http://localhost:8888/api" interval = 3 threshold = 10 } @@ -26,7 +27,7 @@ resource "coder_app" "jupyter" { } env { name = "NOTEBOOK_ARGS" - value = "--ServerApp.token='' --ip='*'" + value = "--no-browser --ServerApp.token='' --ip='*'" } {{ super() }} {% endblock %}