mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: Update ubuntu AMIs to 18.04 and kurento 6.15.0 in deployments
parent
d9bbe3c3b1
commit
eb0593ec02
|
@ -19,7 +19,7 @@ TEMPJSON=$(mktemp -t cloudformation-XXX --suffix .json)
|
||||||
getUbuntuAmiId() {
|
getUbuntuAmiId() {
|
||||||
local AMI_ID=$(
|
local AMI_ID=$(
|
||||||
aws --region ${1} ec2 describe-images \
|
aws --region ${1} ec2 describe-images \
|
||||||
--filters Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64* \
|
--filters Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64* \
|
||||||
--query 'Images[*].[ImageId,CreationDate]' \
|
--query 'Images[*].[ImageId,CreationDate]' \
|
||||||
--output text \
|
--output text \
|
||||||
| sort -k2 -r | head -n1 | cut -d$'\t' -f1
|
| sort -k2 -r | head -n1 | cut -d$'\t' -f1
|
||||||
|
|
|
@ -158,7 +158,7 @@ OPENVIDU_CDR_PATH=/opt/openvidu/cdr
|
||||||
# --------------------------
|
# --------------------------
|
||||||
# Docker hub kurento media server: https://hub.docker.com/r/kurento/kurento-media-server
|
# Docker hub kurento media server: https://hub.docker.com/r/kurento/kurento-media-server
|
||||||
# Uncomment the next line and define this variable with KMS image that you want use
|
# Uncomment the next line and define this variable with KMS image that you want use
|
||||||
# KMS_IMAGE=kurento/kurento-media-server:6.14.0
|
# KMS_IMAGE=kurento/kurento-media-server:6.15.0
|
||||||
|
|
||||||
# Kurento Media Server Level logs
|
# Kurento Media Server Level logs
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
|
@ -42,7 +42,7 @@ services:
|
||||||
- COTURN_IP=${COTURN_IP:-auto-ipv4}
|
- COTURN_IP=${COTURN_IP:-auto-ipv4}
|
||||||
|
|
||||||
kms:
|
kms:
|
||||||
image: ${KMS_IMAGE:-kurento/kurento-media-server:6.14.0}
|
image: ${KMS_IMAGE:-kurento/kurento-media-server:6.15.0}
|
||||||
restart: always
|
restart: always
|
||||||
network_mode: host
|
network_mode: host
|
||||||
ulimits:
|
ulimits:
|
||||||
|
|
|
@ -18,7 +18,7 @@ TEMPJSON=$(mktemp -t cloudformation-XXX --suffix .json)
|
||||||
getUbuntuAmiId() {
|
getUbuntuAmiId() {
|
||||||
local AMI_ID=$(
|
local AMI_ID=$(
|
||||||
aws --region ${1} ec2 describe-images \
|
aws --region ${1} ec2 describe-images \
|
||||||
--filters Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64* \
|
--filters Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64* \
|
||||||
--query 'Images[*].[ImageId,CreationDate]' \
|
--query 'Images[*].[ImageId,CreationDate]' \
|
||||||
--output text \
|
--output text \
|
||||||
| sort -k2 -r | head -n1 | cut -d$'\t' -f1
|
| sort -k2 -r | head -n1 | cut -d$'\t' -f1
|
||||||
|
|
|
@ -22,7 +22,7 @@ services:
|
||||||
core: -1
|
core: -1
|
||||||
entrypoint: ['/bin/sh', '-c', '/beats/copy_config_files.sh && /usr/local/bin/entrypoint.sh']
|
entrypoint: ['/bin/sh', '-c', '/beats/copy_config_files.sh && /usr/local/bin/entrypoint.sh']
|
||||||
environment:
|
environment:
|
||||||
- KMS_IMAGE=kurento/kurento-media-server:6.14.0
|
- KMS_IMAGE=kurento/kurento-media-server:6.15.0
|
||||||
- METRICBEAT_IMAGE=docker.elastic.co/beats/metricbeat-oss:7.8.0
|
- METRICBEAT_IMAGE=docker.elastic.co/beats/metricbeat-oss:7.8.0
|
||||||
- FILEBEAT_IMAGE=docker.elastic.co/beats/filebeat-oss:7.8.0
|
- FILEBEAT_IMAGE=docker.elastic.co/beats/filebeat-oss:7.8.0
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -283,7 +283,7 @@ ELASTICSEARCH_PASSWORD=
|
||||||
# Uncomment the next line and define this variable with KMS image that you want use
|
# Uncomment the next line and define this variable with KMS image that you want use
|
||||||
# By default, KMS_IMAGE is defined in media nodes and it does not need to be specified unless
|
# By default, KMS_IMAGE is defined in media nodes and it does not need to be specified unless
|
||||||
# you want to use a specific version of KMS
|
# you want to use a specific version of KMS
|
||||||
# KMS_IMAGE=kurento/kurento-media-server:6.14.0
|
# KMS_IMAGE=kurento/kurento-media-server:6.15.0
|
||||||
|
|
||||||
# Uncomment the next line and define this variable to change
|
# Uncomment the next line and define this variable to change
|
||||||
# the verbosity level of the logs of KMS
|
# the verbosity level of the logs of KMS
|
||||||
|
|
Loading…
Reference in New Issue