backport a hack to enable jitsi

This commit is contained in:
Quentin 2020-10-28 14:41:19 +01:00
parent d8d0d74920
commit 1f53e2061e

View file

@ -175,6 +175,7 @@ job "jitsi" {
config { config {
image = "superboum/amd64_jitsi_videobridge:v15" image = "superboum/amd64_jitsi_videobridge:v15"
network_mode = "host" network_mode = "host"
port_map { video1_port = 8080 } # this is a hack, check secrets/jitsi/global_env to understand why
ulimit { ulimit {
nofile = "1048576:1048576" nofile = "1048576:1048576"
nproc = "65536:65536" nproc = "65536:65536"
@ -200,6 +201,9 @@ job "jitsi" {
resources { resources {
cpu = 900 cpu = 900
memory = 1500 memory = 1500
network {
port "video1_port" { static = "8080" } # this is a hack
}
} }
service { service {