138 lines
3.2 KiB
HCL
138 lines
3.2 KiB
HCL
variable "host_home_path" {
|
|
description = "Absolute path to the host home directory for bind mounts."
|
|
type = string
|
|
default = "/home/trav"
|
|
}
|
|
|
|
variable "docker_socket" {
|
|
description = "Docker daemon socket URI (leave blank for default)."
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "devcontainer_image" {
|
|
description = "Container image used for the main workspace."
|
|
type = string
|
|
default = "git.lab/vasceannie/golden-image:latest"
|
|
}
|
|
|
|
variable "workspace_memory_limit" {
|
|
description = "Workspace memory limit in MB. Use 0 to inherit the image defaults."
|
|
type = number
|
|
default = 8192
|
|
}
|
|
|
|
variable "enable_docker_in_docker" {
|
|
description = "Mount /var/run/docker.sock into the workspace container."
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "block_file_transfer" {
|
|
description = "Set CODER_AGENT_BLOCK_FILE_TRANSFER=1 to disable file transfer tooling."
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "postgres_version" {
|
|
description = "PostgreSQL image tag."
|
|
type = string
|
|
default = "17"
|
|
}
|
|
|
|
variable "postgres_password" {
|
|
description = "PostgreSQL password for the postgres user."
|
|
type = string
|
|
default = "devpassword"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "postgres_max_connections" {
|
|
description = "Maximum PostgreSQL connections."
|
|
type = number
|
|
default = 100
|
|
}
|
|
|
|
variable "redis_version" {
|
|
description = "Redis image tag."
|
|
type = string
|
|
default = "7"
|
|
}
|
|
|
|
variable "redis_password" {
|
|
description = "Redis AUTH password."
|
|
type = string
|
|
default = "devpassword"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "redis_max_memory" {
|
|
description = "Redis maxmemory value (e.g. 256mb)."
|
|
type = string
|
|
default = "512mb"
|
|
}
|
|
|
|
variable "qdrant_version" {
|
|
description = "Qdrant image tag."
|
|
type = string
|
|
default = "latest"
|
|
}
|
|
|
|
variable "pgadmin_email" {
|
|
description = "pgAdmin login email."
|
|
type = string
|
|
default = "admin@dev.local"
|
|
}
|
|
|
|
variable "pgadmin_password" {
|
|
description = "pgAdmin login password."
|
|
type = string
|
|
default = "adminpassword"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "install_claude_code" {
|
|
description = "Install the Claude CLI helper when AI tooling is enabled."
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "install_cursor_support" {
|
|
description = "Install Cursor configuration when AI tooling is enabled."
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "install_windsurf_support" {
|
|
description = "Install Windsurf configuration when AI tooling is enabled."
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "install_codex_support" {
|
|
description = "Install OpenAI Codex CLI when AI tooling is enabled."
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "install_gemini_support" {
|
|
description = "Install Google Gemini CLI when AI tooling is enabled."
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
|
|
variable "gitea_pat" {
|
|
description = "Personal access token for Gitea (optional)."
|
|
type = string
|
|
default = ""
|
|
sensitive = true
|
|
}
|
|
|
|
variable "github_pat" {
|
|
description = "Personal access token for GitHub (optional)."
|
|
type = string
|
|
default = ""
|
|
sensitive = true
|
|
}
|