forked from Deuxfleurs/infrastructure
Last jitsi config
This commit is contained in:
parent
7c4cef0f9c
commit
510158e301
4 changed files with 14 additions and 11 deletions
|
@ -12,7 +12,7 @@ services:
|
||||||
volumes: [ './jitsi-certs/:/certs:ro' ]
|
volumes: [ './jitsi-certs/:/certs:ro' ]
|
||||||
jitsi-front:
|
jitsi-front:
|
||||||
build: ./jitsi-front
|
build: ./jitsi-front
|
||||||
image: superboum/amd64_jitsi_front:v2
|
image: superboum/amd64_jitsi_front:v3
|
||||||
network_mode: host
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
@ -29,7 +29,7 @@ services:
|
||||||
image: superboum/amd64_jitsi_videobridge:v6
|
image: superboum/amd64_jitsi_videobridge:v6
|
||||||
network_mode: host
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "4443:4443"
|
- "995:995"
|
||||||
- "10000:10000/udp"
|
- "10000:10000/udp"
|
||||||
env_file: [ 'dev.env' ]
|
env_file: [ 'dev.env' ]
|
||||||
volumes: [ './jitsi-certs/:/certs:ro' ]
|
volumes: [ './jitsi-certs/:/certs:ro' ]
|
||||||
|
|
|
@ -5,7 +5,9 @@ RUN apt-get update && \
|
||||||
git clone --depth=1 https://github.com/jitsi/jitsi-meet.git && \
|
git clone --depth=1 https://github.com/jitsi/jitsi-meet.git && \
|
||||||
cd jitsi-meet && \
|
cd jitsi-meet && \
|
||||||
npm install && \
|
npm install && \
|
||||||
make && \
|
make
|
||||||
|
|
||||||
|
RUN cd jitsi-meet && \
|
||||||
sed -i \
|
sed -i \
|
||||||
"s/OPTIMAL_BROWSERS: \[.*\],/ OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'nwjs', 'electron' ],/g" \
|
"s/OPTIMAL_BROWSERS: \[.*\],/ OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'nwjs', 'electron' ],/g" \
|
||||||
interface_config.js && \
|
interface_config.js && \
|
||||||
|
|
|
@ -268,7 +268,7 @@ var config = {
|
||||||
// disable1On1Mode: false,
|
// disable1On1Mode: false,
|
||||||
|
|
||||||
// Default language for the user interface.
|
// Default language for the user interface.
|
||||||
// defaultLanguage: 'en',
|
defaultLanguage: 'fr',
|
||||||
|
|
||||||
// If true all users without a token will be considered guests and all users
|
// If true all users without a token will be considered guests and all users
|
||||||
// with token will be considered non-guests. Only guests will be allowed to
|
// with token will be considered non-guests. Only guests will be allowed to
|
||||||
|
@ -359,7 +359,7 @@ var config = {
|
||||||
|
|
||||||
// If set to true, it will prefer to use H.264 for P2P calls (if H.264
|
// If set to true, it will prefer to use H.264 for P2P calls (if H.264
|
||||||
// is supported).
|
// is supported).
|
||||||
preferH264: true
|
preferH264: true,
|
||||||
|
|
||||||
// If set to true, disable H.264 video codec by stripping it out of the
|
// If set to true, disable H.264 video codec by stripping it out of the
|
||||||
// SDP.
|
// SDP.
|
||||||
|
@ -367,7 +367,7 @@ var config = {
|
||||||
|
|
||||||
// How long we're going to wait, before going back to P2P after the 3rd
|
// How long we're going to wait, before going back to P2P after the 3rd
|
||||||
// participant has left the conference (to filter out page reload).
|
// participant has left the conference (to filter out page reload).
|
||||||
// backToP2PDelay: 5
|
backToP2PDelay: 60
|
||||||
},
|
},
|
||||||
|
|
||||||
analytics: {
|
analytics: {
|
||||||
|
|
|
@ -93,7 +93,7 @@ job "jitsi" {
|
||||||
task "front" {
|
task "front" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
config {
|
config {
|
||||||
image = "superboum/amd64_jitsi_front:v1"
|
image = "superboum/amd64_jitsi_front:v3"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
port_map {
|
port_map {
|
||||||
https_port = 443
|
https_port = 443
|
||||||
|
@ -189,10 +189,10 @@ job "jitsi" {
|
||||||
task "videobridge" {
|
task "videobridge" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
config {
|
config {
|
||||||
image = "superboum/amd64_jitsi_videobridge:v5"
|
image = "superboum/amd64_jitsi_videobridge:v6"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
port_map {
|
port_map {
|
||||||
video1_port = 4443
|
video1_port = 8080
|
||||||
video2_port = 10000
|
video2_port = 10000
|
||||||
}
|
}
|
||||||
ulimit {
|
ulimit {
|
||||||
|
@ -202,7 +202,8 @@ job "jitsi" {
|
||||||
}
|
}
|
||||||
|
|
||||||
env {
|
env {
|
||||||
JITSI_DEBUG = 1
|
#JITSI_DEBUG = 1
|
||||||
|
JITSI_VIDEO_TCP = 8080
|
||||||
}
|
}
|
||||||
|
|
||||||
artifact {
|
artifact {
|
||||||
|
@ -221,7 +222,7 @@ job "jitsi" {
|
||||||
memory = 1500
|
memory = 1500
|
||||||
network {
|
network {
|
||||||
port "video1_port" {
|
port "video1_port" {
|
||||||
static = "4443"
|
static = "8080"
|
||||||
}
|
}
|
||||||
port "video2_port" {
|
port "video2_port" {
|
||||||
static = "10000"
|
static = "10000"
|
||||||
|
|
Loading…
Reference in a new issue