This commit is contained in:
parent
ff8c382bf1
commit
4d00251994
1 changed files with 4 additions and 4 deletions
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue