From 535b28945dd36568704063581e61330568cbd347 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 2 Feb 2023 08:24:45 +0100 Subject: improve jitsi conf --- cluster/prod/app/jitsi/deploy/jitsi.hcl | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'cluster/prod') 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 { -- cgit v1.2.3