forked from Deuxfleurs/nixcfg
improve jitsi conf
This commit is contained in:
parent
2d55b1dfcc
commit
535b28945d
1 changed files with 10 additions and 4 deletions
|
@ -9,13 +9,12 @@ job "jitsi" {
|
|||
value = "amd64"
|
||||
}
|
||||
|
||||
group "core" {
|
||||
group "control_plane" {
|
||||
|
||||
network {
|
||||
port "bosh_port" { }
|
||||
port "xmpp_port" { }
|
||||
port "https_port" { }
|
||||
port "video_port" { static = 8080 }
|
||||
}
|
||||
|
||||
task "xmpp" {
|
||||
|
@ -194,6 +193,12 @@ EOF
|
|||
memory = 400
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group "data_plane" {
|
||||
network {
|
||||
port "video_port" { static = 8080 }
|
||||
}
|
||||
|
||||
task "videobridge" {
|
||||
driver = "docker"
|
||||
|
@ -216,7 +221,7 @@ EOF
|
|||
# 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
|
||||
# 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 {
|
||||
|
@ -237,7 +242,8 @@ EOF
|
|||
|
||||
resources {
|
||||
cpu = 900
|
||||
memory = 3000
|
||||
memory = 500
|
||||
memory_max = 3000
|
||||
}
|
||||
|
||||
service {
|
||||
|
|
Loading…
Reference in a new issue