Fix front version

This commit is contained in:
Quentin 2020-04-27 19:02:00 +02:00
parent 7a5a701bbf
commit 6060d05c20
3 changed files with 9 additions and 8 deletions

View file

@ -13,9 +13,9 @@ services:
jitsi-front: jitsi-front:
build: build:
context: ./jitsi-front context: ./jitsi-front
#network: host network: host
#^-- I have some DNS problems on Fedora 32 in Docker #^-- I have some DNS problems on Fedora 32 in Docker
image: superboum/amd64_jitsi_front:v4 image: superboum/amd64_jitsi_front:v5
ports: ports:
- "443:443" - "443:443"
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]

View file

@ -1,13 +1,14 @@
FROM debian:buster AS builder FROM debian:buster AS builder
ENV VERSION=4048
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y npm git nodejs make && \ apt-get install -y npm git nodejs make wget unzip && \
git clone --depth=1 https://github.com/jitsi/jitsi-meet.git && \ wget https://github.com/jitsi/jitsi-meet/archive/${VERSION}.zip -O jitsi-meet.zip && \
unzip jitsi-meet.zip && \
mv jitsi-meet-${VERSION} jitsi-meet && \
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 && \

View file

@ -93,7 +93,7 @@ job "jitsi" {
task "front" { task "front" {
driver = "docker" driver = "docker"
config { config {
image = "superboum/amd64_jitsi_front:v4" image = "superboum/amd64_jitsi_front:v5"
network_mode = "host" network_mode = "host"
port_map { port_map {
https_port = 443 https_port = 443