Phorcys
03/23/2023, 8:25 AMAmr
03/23/2023, 11:55 AMVaneixusPrime
03/23/2023, 12:10 PMBen
03/23/2023, 12:10 PMBen
03/23/2023, 12:11 PMBen
03/23/2023, 12:12 PMVaneixusPrime
03/23/2023, 12:12 PMAmr
03/23/2023, 12:14 PMAmr
03/23/2023, 12:18 PMBen
03/23/2023, 12:24 PMBen
03/23/2023, 12:25 PMPhorcys
03/23/2023, 12:50 PMsharkymark
03/23/2023, 1:17 PM0.9.5
is a several year old version. I just stick a static config file in the container image with a user coder
and password password
Phorcys
03/23/2023, 1:18 PMsharkymark
03/23/2023, 1:18 PMPhorcys
03/23/2023, 1:18 PMEdmond
03/23/2023, 2:21 PMEdmond
03/23/2023, 2:22 PMcfouche
03/23/2023, 6:33 PMcfouche
03/23/2023, 6:33 PMcolin (rust enthusiast)
03/23/2023, 6:35 PMstring
only accepts one value while list(string)
accepts manycfouche
03/23/2023, 6:40 PMcolin (rust enthusiast)
03/23/2023, 6:48 PMcolin (rust enthusiast)
03/23/2023, 6:48 PMlist(string)
allows you to provide multiple values, rather than selecting a single onecfouche
03/23/2023, 7:03 PMdata "coder_parameter" "docker_host" {
name = "Docker Host"
default = "unix:///var/run/docker.sock"
description = "Address of the Docker host ([unix://], [ssh://], [tcp://])"
icon = "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/docker.png"
mutable = false
type = "string"
validation {
error = "Invalid Docker Host !"
regex = "(unix://)|(tcp://)|(ssh://)"
}
}
and for the 2, i use this : data "coder_parameter" "docker_host_arch" {
neame = "Docker Host Architecture"
default = "amd64"
description = "CPU architecture of the Docker host"
icon = "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/docker.png"
mutable = false
type = "string"
option {
name = "Amd64 CPU Architecture"
value = "amd64"
}
option {
name = "Arm64 CPU Architecture"
value = "arm64"
}
validation {
error = "Invalid Docker Host Architecture !"
regex = "(amd64)|(arm64)"
}
}
vakfu
03/23/2023, 8:22 PMvakfu
03/23/2023, 8:23 PMvakfu
03/23/2023, 8:23 PMcolin (rust enthusiast)
03/23/2023, 8:24 PMvakfu
03/23/2023, 8:25 PM