From 18ebabcd2126709bbc0a72c9acb1961de8da535c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Eixarch?= Date: Mon, 28 Feb 2022 05:35:04 +0100 Subject: [PATCH] Add timezone from host --- .../deployments/ce/docker-compose/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openvidu-server/deployments/ce/docker-compose/docker-compose.yml b/openvidu-server/deployments/ce/docker-compose/docker-compose.yml index 63ff536a35..8d32496439 100644 --- a/openvidu-server/deployments/ce/docker-compose/docker-compose.yml +++ b/openvidu-server/deployments/ce/docker-compose/docker-compose.yml @@ -31,6 +31,8 @@ services: - ${OPENVIDU_RECORDING_PATH}:${OPENVIDU_RECORDING_PATH} - ${OPENVIDU_RECORDING_CUSTOM_LAYOUT}:${OPENVIDU_RECORDING_CUSTOM_LAYOUT} - ${OPENVIDU_CDR_PATH}:${OPENVIDU_CDR_PATH} + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro env_file: - .env environment: @@ -55,6 +57,8 @@ services: - /opt/openvidu/kms-crashes:/opt/openvidu/kms-crashes - ${OPENVIDU_RECORDING_PATH}:${OPENVIDU_RECORDING_PATH} - /opt/openvidu/kurento-logs:/opt/openvidu/kurento-logs + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro environment: - KMS_MIN_PORT=40000 - KMS_MAX_PORT=57000 @@ -106,6 +110,8 @@ services: - ./custom-nginx-vhosts:/etc/nginx/vhost.d/ - ./custom-nginx-locations:/custom-nginx-locations - ${OPENVIDU_RECORDING_CUSTOM_LAYOUT}:/opt/openvidu/custom-layout + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro environment: - DOMAIN_OR_PUBLIC_IP=${DOMAIN_OR_PUBLIC_IP} - CERTIFICATE_TYPE=${CERTIFICATE_TYPE}