aboutsummaryrefslogtreecommitdiff
path: root/app/deployment
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-10-28 14:41:19 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-10-28 14:41:19 +0100
commit1f53e2061e4ba18cd1b2b6feb13c1864c4e5f3db (patch)
tree6dcdb14b3785c048f69258bf1319911881e5290b /app/deployment
parentd8d0d74920d05045e2b0a20092d595797a42aef3 (diff)
downloadinfrastructure-1f53e2061e4ba18cd1b2b6feb13c1864c4e5f3db.tar.gz
infrastructure-1f53e2061e4ba18cd1b2b6feb13c1864c4e5f3db.zip
backport a hack to enable jitsi
Diffstat (limited to 'app/deployment')
-rw-r--r--app/deployment/jitsi.hcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/deployment/jitsi.hcl b/app/deployment/jitsi.hcl
index 6625668..93c87f7 100644
--- a/app/deployment/jitsi.hcl
+++ b/app/deployment/jitsi.hcl
@@ -175,6 +175,7 @@ job "jitsi" {
config {
image = "superboum/amd64_jitsi_videobridge:v15"
network_mode = "host"
+ port_map { video1_port = 8080 } # this is a hack, check secrets/jitsi/global_env to understand why
ulimit {
nofile = "1048576:1048576"
nproc = "65536:65536"
@@ -200,6 +201,9 @@ job "jitsi" {
resources {
cpu = 900
memory = 1500
+ network {
+ port "video1_port" { static = "8080" } # this is a hack
+ }
}
service {