DO droplet (nyc3 s-2vcpu-4gb + swap) running 3 co-located Forgejo (ct/mc/quinn) + Verdaccio via docker-compose. HTTP+token (built-in SSH disabled). Provisioned 165.227.191.38; state local (gitignored). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
29 lines
623 B
HCL
29 lines
623 B
HCL
variable "do_token" {
|
|
type = string
|
|
sensitive = true
|
|
description = "DigitalOcean PAT (ct project)."
|
|
}
|
|
|
|
variable "region" {
|
|
type = string
|
|
default = "nyc3"
|
|
}
|
|
|
|
variable "droplet_size" {
|
|
type = string
|
|
default = "s-2vcpu-4gb"
|
|
}
|
|
|
|
variable "ssh_key_fingerprints" {
|
|
type = list(string)
|
|
description = "DO SSH key fingerprints authorized on the box."
|
|
default = [
|
|
"00:b5:2c:23:67:43:e5:39:c9:c2:43:31:6e:5c:03:10", # plum-natalie (operator laptop)
|
|
"b2:7e:66:b1:9b:61:ac:69:c5:96:a9:97:34:5c:9b:db", # cocotte-fleet
|
|
]
|
|
}
|
|
|
|
variable "name" {
|
|
type = string
|
|
default = "services"
|
|
}
|