aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cluster/prod/app/jitsi/deploy/jitsi.hcl14
1 files changed, 10 insertions, 4 deletions
diff --git a/cluster/prod/app/jitsi/deploy/jitsi.hcl b/cluster/prod/app/jitsi/deploy/jitsi.hcl
index 88ab315..4d4d9fb 100644
--- a/cluster/prod/app/jitsi/deploy/jitsi.hcl
+++ b/cluster/prod/app/jitsi/deploy/jitsi.hcl
@@ -9,13 +9,12 @@ job "jitsi" {
value = "amd64"
}
- group "core" {
+ group "control_plane" {
network {
port "bosh_port" { }
port "xmpp_port" { }
port "https_port" { }
- port "video_port" { static = 8080 }
}
task "xmpp" {
@@ -194,6 +193,12 @@ EOF
memory = 400
}
}
+ }
+
+ group "data_plane" {
+ network {
+ port "video_port" { static = 8080 }
+ }
task "videobridge" {
driver = "docker"
@@ -216,7 +221,7 @@ EOF
# Our container can autodetect the public IP with the ifconfig.me service
# However we would like to avoid relying on a 3rd party service for production use
# That's why I am setting the public IP address statically here VVVV
- JITSI_NAT_PUBLIC_IP = "77.207.15.215"
+ #JITSI_NAT_PUBLIC_IP = "82.66.80.201"
}
template {
@@ -237,7 +242,8 @@ EOF
resources {
cpu = 900
- memory = 3000
+ memory = 500
+ memory_max = 3000
}
service {