This commit is contained in:
Steve McMaster 2023-02-25 01:07:59 -05:00
parent 88e5cc7c6a
commit 3a32872b8c
3 changed files with 6 additions and 5 deletions

View File

@ -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),

View File

@ -3,7 +3,7 @@ terraform {
required_providers {
coder = {
source = "coder/coder"
version = "0.5.3"
version = "0.6.14"
}
kubernetes = {
source = "hashicorp/kubernetes"

View File

@ -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 %}