forked from Deuxfleurs/infrastructure
backport a hack to enable jitsi
This commit is contained in:
parent
d8d0d74920
commit
1f53e2061e
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue