aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-09-20 10:39:36 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-09-20 10:39:36 +0200
commite204c3e563d3033db6b75a2875475e95be3b2a16 (patch)
treeb8dd41dd2306e2c2ec8d67e432616da8eab6d70a /cluster
parente81a6ccff028392f8d654345774f5029486b6175 (diff)
downloadnixcfg-e204c3e563d3033db6b75a2875475e95be3b2a16.tar.gz
nixcfg-e204c3e563d3033db6b75a2875475e95be3b2a16.zip
activate management in jitsi
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/app/jitsi/config/videobridge.conf1
-rw-r--r--cluster/prod/app/jitsi/deploy/jitsi.hcl5
2 files changed, 4 insertions, 2 deletions
diff --git a/cluster/prod/app/jitsi/config/videobridge.conf b/cluster/prod/app/jitsi/config/videobridge.conf
index 0622c76..e3826c2 100644
--- a/cluster/prod/app/jitsi/config/videobridge.conf
+++ b/cluster/prod/app/jitsi/config/videobridge.conf
@@ -116,6 +116,7 @@ videobridge {
private {
# See JettyBundleActivatorConfig in Jicoco for values
host = 127.0.0.1
+ port = {{ env "NOMAD_PORT_management_port" }}
}
}
octo {
diff --git a/cluster/prod/app/jitsi/deploy/jitsi.hcl b/cluster/prod/app/jitsi/deploy/jitsi.hcl
index 7b78bdc..f2cafd2 100644
--- a/cluster/prod/app/jitsi/deploy/jitsi.hcl
+++ b/cluster/prod/app/jitsi/deploy/jitsi.hcl
@@ -203,6 +203,7 @@ EOF
group "data_plane" {
network {
port "video_port" { static = 8080 }
+ port "management_port" { static = 8000 }
}
task "videobridge" {
@@ -210,7 +211,7 @@ EOF
config {
image = "superboum/amd64_jitsi_videobridge:v22"
network_mode = "host"
- ports = [ "video_port" ]
+ ports = [ "video_port", "management_port" ]
ulimit {
nofile = "1048576:1048576"
nproc = "65536:65536"
@@ -261,7 +262,7 @@ EOF
name = "video-jitsi"
check {
type = "tcp"
- port = "video_port"
+ port = "management_port"
interval = "60s"
timeout = "5s"
}