activate management in jitsi

This commit is contained in:
Quentin 2024-09-20 10:39:36 +02:00
parent e81a6ccff0
commit e204c3e563
Signed by: quentin
GPG key ID: E9602264D639FF68
2 changed files with 4 additions and 2 deletions

View file

@ -116,6 +116,7 @@ videobridge {
private { private {
# See JettyBundleActivatorConfig in Jicoco for values # See JettyBundleActivatorConfig in Jicoco for values
host = 127.0.0.1 host = 127.0.0.1
port = {{ env "NOMAD_PORT_management_port" }}
} }
} }
octo { octo {

View file

@ -203,6 +203,7 @@ EOF
group "data_plane" { group "data_plane" {
network { network {
port "video_port" { static = 8080 } port "video_port" { static = 8080 }
port "management_port" { static = 8000 }
} }
task "videobridge" { task "videobridge" {
@ -210,7 +211,7 @@ EOF
config { config {
image = "superboum/amd64_jitsi_videobridge:v22" image = "superboum/amd64_jitsi_videobridge:v22"
network_mode = "host" network_mode = "host"
ports = [ "video_port" ] ports = [ "video_port", "management_port" ]
ulimit { ulimit {
nofile = "1048576:1048576" nofile = "1048576:1048576"
nproc = "65536:65536" nproc = "65536:65536"
@ -261,7 +262,7 @@ EOF
name = "video-jitsi" name = "video-jitsi"
check { check {
type = "tcp" type = "tcp"
port = "video_port" port = "management_port"
interval = "60s" interval = "60s"
timeout = "5s" timeout = "5s"
} }