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
|
||||
]
|
||||
config = {
|
||||
"limits.cpu" = 2
|
||||
"limits.memory" = "4GiB"
|
||||
"limits.cpu" = 1
|
||||
"limits.memory" = "1GiB"
|
||||
}
|
||||
device {
|
||||
name = "http"
|
||||
type = "proxy"
|
||||
properties = {
|
||||
# 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
|
||||
connect = "tcp:127.0.0.1:80"
|
||||
connect = "tcp:127.0.0.1:3001"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue