Adds enable_monitoring variable (default true) that controls whether Prometheus/Grafana, Loki, Fluent Bit, and Jaeger are deployed. Setting it to false saves ~1.5 GB RAM, making the stack viable on a 2–4 GB VPS without touching the application services. Also caps MongoDB WiredTiger cache at 256 MB (--wiredTigerCacheSizeGB=0.25) so it doesn't balloon on memory-constrained hosts. Co-authored-by: Gonçalo Rodrigues <guga@Goncalos-MacBook-Pro.local> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
393 B
HCL
12 lines
393 B
HCL
variable "enable_gitea" {
|
|
description = "Deploy Gitea and the act runner. Set to false to skip (e.g. on a dev laptop without a dedicated server)."
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "enable_monitoring" {
|
|
description = "Deploy Prometheus, Grafana, Loki, Jaeger, and Fluent Bit. Set to false on small VMs to save ~1.5 GB RAM."
|
|
type = bool
|
|
default = true
|
|
}
|