downscale observer server
All checks were successful
/ test (push) Successful in 1s

This commit is contained in:
Jermeiah S 2025-06-19 14:59:49 -04:00
parent ff8c382bf1
commit 4d00251994
No known key found for this signature in database

View file

@ -34,17 +34,17 @@ resource "incus_instance" "observer-tofu" {
incus_profile.d.name incus_profile.d.name
] ]
config = { config = {
"limits.cpu" = 2 "limits.cpu" = 1
"limits.memory" = "4GiB" "limits.memory" = "1GiB"
} }
device { device {
name = "http" name = "http"
type = "proxy" type = "proxy"
properties = { properties = {
# Listen on Incus host's TCP port 80 # Listen on Incus host's TCP port 80
listen = "tcp:0.0.0.0:8888" listen = "tcp:0.0.0.0:8889"
# And connect to the instance's TCP port 80 # And connect to the instance's TCP port 80
connect = "tcp:127.0.0.1:80" connect = "tcp:127.0.0.1:3001"
} }
} }
} }