deployment: Minor fix to override redis configuration in coturn. Bump coturn to 4.0.0-dev2

pull/630/head
cruizba 2021-05-06 13:39:26 +02:00
parent 56d9b66f83
commit cec967acc7
4 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ services:
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}" max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
coturn: coturn:
image: openvidu/openvidu-coturn:4.0.0-dev1 image: openvidu/openvidu-coturn:4.0.0-dev2
restart: on-failure restart: on-failure
network_mode: host network_mode: host
environment: environment:

View File

@ -85,7 +85,7 @@ services:
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}" max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
coturn: coturn:
image: openvidu/openvidu-coturn:4.0.0-dev1 image: openvidu/openvidu-coturn:4.0.0-dev2
restart: on-failure restart: on-failure
network_mode: host network_mode: host
environment: environment:

View File

@ -62,7 +62,7 @@ services:
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}" max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
coturn: coturn:
image: openvidu/openvidu-coturn:4.0.0-dev1 image: openvidu/openvidu-coturn:4.0.0-dev2
restart: on-failure restart: on-failure
network_mode: host network_mode: host
environment: environment:

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
if [ ! -z "${REDIS_IP}" ] && [ ! -z "${DB_NAME}" ] && [ ! -z "${DB_PASSWORD}" ]; then if [ ! -z "${REDIS_IP}" ] && [ ! -z "${DB_NAME}" ] && [ ! -z "${DB_PASSWORD}" ]; then
echo "redis-userdb=\"ip=${REDIS_IP} dbname=${DB_NAME} password=${DB_PASSWORD} connect_timeout=30\"" >> turnserver.conf echo "redis-userdb=\"ip=${REDIS_IP} dbname=${DB_NAME} password=${DB_PASSWORD} connect_timeout=30\"" > turnserver.conf
fi fi
# If command starts with an option, prepend with turnserver binary. # If command starts with an option, prepend with turnserver binary.