[ci skip] Rebuild docker-registry with nginx serialization on all ports
Replace individual `docker run` commands with Docker Compose stack managed by systemd. Nginx now fronts all 5 registry ports (5000/5010/5020/5030/5040) with proxy_cache_lock to serialize concurrent blob pulls and prevent corrupt partial responses. Adds QEMU guest agent for remote management.
This commit is contained in:
parent
9488af2397
commit
88960ba3a4
5 changed files with 449 additions and 116 deletions
|
|
@ -34,12 +34,16 @@ variable "ipconfig0" {
|
|||
type = string
|
||||
default = "ip=dhcp,ip6=dhcp"
|
||||
}
|
||||
variable "agent" {
|
||||
type = number
|
||||
default = 0
|
||||
}
|
||||
|
||||
resource "proxmox_vm_qemu" "cloudinit-vm" {
|
||||
vmid = var.vmid
|
||||
name = var.vm_name
|
||||
target_node = "pve"
|
||||
agent = 0
|
||||
agent = var.agent
|
||||
memory = var.vm_mem_mb
|
||||
boot = "order=scsi0" # has to be the same as the OS disk of the template
|
||||
clone = var.template_name # The name of the template
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue