mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 10:57:42 +00:00
memory bump
This commit is contained in:
@@ -81,6 +81,11 @@ resource "proxmox_virtual_environment_container" "example_template" {
|
|||||||
cores = var.cores
|
cores = var.cores
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memory {
|
||||||
|
dedicated = var.memory
|
||||||
|
swap = var.swap
|
||||||
|
}
|
||||||
|
|
||||||
startup {
|
startup {
|
||||||
order = "3"
|
order = "3"
|
||||||
up_delay = "60"
|
up_delay = "60"
|
||||||
|
|||||||
@@ -32,12 +32,14 @@ variable "disk_size_gb" {
|
|||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# Initialization specifics
|
# Initialization specifics
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
variable "hostname" { default = "n8n" }
|
variable "hostname" { default = "n8n" }
|
||||||
variable "ip_address" { default = "192.168.0.69/24" }
|
variable "ip_address" { default = "192.168.0.69/24" }
|
||||||
variable "gateway" { default = "192.168.0.1" }
|
variable "gateway" { default = "192.168.0.1" }
|
||||||
variable "password" { default = "example" }
|
variable "password" { default = "example" }
|
||||||
variable "cores" { default = 2 }
|
variable "cores" { default = 2 }
|
||||||
|
variable "memory" { defualt = 2048 } # Sets dedicated RAM to 2048 MB (2 GB)
|
||||||
|
variable "swap" { default = 1024 } # Sets swap space to 1024 MB (1 GB)
|
||||||
|
}
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# Node & template file
|
# Node & template file
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user