improve jitsi conf

This commit is contained in:
Quentin 2023-02-02 08:24:45 +01:00
parent 2d55b1dfcc
commit 535b28945d
Signed by: quentin
GPG key ID: E9602264D639FF68

View file

@ -9,13 +9,12 @@ job "jitsi" {
value = "amd64" value = "amd64"
} }
group "core" { group "control_plane" {
network { network {
port "bosh_port" { } port "bosh_port" { }
port "xmpp_port" { } port "xmpp_port" { }
port "https_port" { } port "https_port" { }
port "video_port" { static = 8080 }
} }
task "xmpp" { task "xmpp" {
@ -194,6 +193,12 @@ EOF
memory = 400 memory = 400
} }
} }
}
group "data_plane" {
network {
port "video_port" { static = 8080 }
}
task "videobridge" { task "videobridge" {
driver = "docker" driver = "docker"
@ -216,7 +221,7 @@ EOF
# Our container can autodetect the public IP with the ifconfig.me service # Our container can autodetect the public IP with the ifconfig.me service
# However we would like to avoid relying on a 3rd party service for production use # However we would like to avoid relying on a 3rd party service for production use
# That's why I am setting the public IP address statically here VVVV # That's why I am setting the public IP address statically here VVVV
JITSI_NAT_PUBLIC_IP = "77.207.15.215" #JITSI_NAT_PUBLIC_IP = "82.66.80.201"
} }
template { template {
@ -237,7 +242,8 @@ EOF
resources { resources {
cpu = 900 cpu = 900
memory = 3000 memory = 500
memory_max = 3000
} }
service { service {