aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-02-02 08:24:45 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-02-02 08:24:50 +0100
commit535b28945dd36568704063581e61330568cbd347 (patch)
tree1b576e52426fc66d3fc9ae49eaac1a36776c689e /cluster/prod
parent2d55b1dfcc9b6b26264ff21e954246c2649a2840 (diff)
downloadnixcfg-535b28945dd36568704063581e61330568cbd347.tar.gz
nixcfg-535b28945dd36568704063581e61330568cbd347.zip
improve jitsi conf
Diffstat (limited to 'cluster/prod')
-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 {