fix
This commit is contained in:
parent
88e5cc7c6a
commit
3a32872b8c
@ -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),
|
||||
|
||||
@ -3,7 +3,7 @@ terraform {
|
||||
required_providers {
|
||||
coder = {
|
||||
source = "coder/coder"
|
||||
version = "0.5.3"
|
||||
version = "0.6.14"
|
||||
}
|
||||
kubernetes = {
|
||||
source = "hashicorp/kubernetes"
|
||||
|
||||
@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user