From 619e2870a62d37e10506aefde683ed09784543b0 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Mon, 4 May 2020 17:10:11 +0200 Subject: [PATCH] OPENVIDU_DOMAIN_OR_PUBLIC_IP to DOMAIN_OR_PUBLIC_IP --- openvidu-server/docker/openvidu-docker-compose/.env | 2 +- .../docker-compose.override.yml | 2 +- .../openvidu-docker-compose/docker-compose.yml | 2 +- .../openvidu-docker-compose/install_openvidu.sh | 2 +- .../docker/openvidu-docker-compose/readme.md | 12 ++++++------ 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/openvidu-server/docker/openvidu-docker-compose/.env b/openvidu-server/docker/openvidu-docker-compose/.env index b7d20bbb..8bc055df 100644 --- a/openvidu-server/docker/openvidu-docker-compose/.env +++ b/openvidu-server/docker/openvidu-docker-compose/.env @@ -7,7 +7,7 @@ # Domain name. If you do not have one, the public IP of the machine. # For example: 198.51.100.1, or openvidu.example.com -OPENVIDU_DOMAIN_OR_PUBLIC_IP= +DOMAIN_OR_PUBLIC_IP= # OpenVidu SECRET used for apps to connect to OpenVidu server and users to access to OpenVidu Dashboard OPENVIDU_SECRET= diff --git a/openvidu-server/docker/openvidu-docker-compose/docker-compose.override.yml b/openvidu-server/docker/openvidu-docker-compose/docker-compose.override.yml index cb57f298..c831c731 100644 --- a/openvidu-server/docker/openvidu-docker-compose/docker-compose.override.yml +++ b/openvidu-server/docker/openvidu-docker-compose/docker-compose.override.yml @@ -10,5 +10,5 @@ services: ports: - "5442:80" environment: - - OPENVIDU_URL=https://${OPENVIDU_DOMAIN_OR_PUBLIC_IP}:${HTTPS_PORT:-443} + - OPENVIDU_URL=https://${DOMAIN_OR_PUBLIC_IP}:${HTTPS_PORT:-443} - OPENVIDU_SECRET=${OPENVIDU_SECRET} diff --git a/openvidu-server/docker/openvidu-docker-compose/docker-compose.yml b/openvidu-server/docker/openvidu-docker-compose/docker-compose.yml index 8d2b2bbc..7d86c791 100644 --- a/openvidu-server/docker/openvidu-docker-compose/docker-compose.yml +++ b/openvidu-server/docker/openvidu-docker-compose/docker-compose.yml @@ -75,7 +75,7 @@ services: - ./owncert:/owncert - ${OPENVIDU_RECORDING_CUSTOM_LAYOUT}:/opt/openvidu/custom-layout environment: - - DOMAIN_OR_PUBLIC_IP=${OPENVIDU_DOMAIN_OR_PUBLIC_IP} + - DOMAIN_OR_PUBLIC_IP=${DOMAIN_OR_PUBLIC_IP} - CERTIFICATE_TYPE=${CERTIFICATE_TYPE} - LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL} - PROXY_HTTP_PORT=${HTTP_PORT:-} diff --git a/openvidu-server/docker/openvidu-docker-compose/install_openvidu.sh b/openvidu-server/docker/openvidu-docker-compose/install_openvidu.sh index b53647ef..e870b93d 100755 --- a/openvidu-server/docker/openvidu-docker-compose/install_openvidu.sh +++ b/openvidu-server/docker/openvidu-docker-compose/install_openvidu.sh @@ -48,7 +48,7 @@ printf "\n" printf '\n 1. Go to openvidu folder:' printf '\n $ cd openvidu' printf "\n" -printf '\n 2. Configure OPENVIDU_DOMAIN_OR_PUBLIC_IP and OPENVIDU_SECRET in .env file:' +printf '\n 2. Configure DOMAIN_OR_PUBLIC_IP and OPENVIDU_SECRET in .env file:' printf "\n $ nano .env" printf "\n" printf '\n 3. Start OpenVidu' diff --git a/openvidu-server/docker/openvidu-docker-compose/readme.md b/openvidu-server/docker/openvidu-docker-compose/readme.md index 04aedb3f..d17bd371 100644 --- a/openvidu-server/docker/openvidu-docker-compose/readme.md +++ b/openvidu-server/docker/openvidu-docker-compose/readme.md @@ -51,7 +51,7 @@ It will donwload all required files into `openvidu` folder and will show this me 1. Go to openvidu folder: $ cd openvidu - 2. Configure OPENVIDU_DOMAIN_OR_PUBLIC_IP and OPENVIDU_SECRET in .env file: + 2. Configure DOMAIN_OR_PUBLIC_IP and OPENVIDU_SECRET in .env file: $ nano .env 3. Start OpenVidu @@ -66,7 +66,7 @@ It will donwload all required files into `openvidu` folder and will show this me OpenVidu Platform configuration is specified in the `.env` file with environment variables. -**YOU MUST** specify the **OPENVIDU_DOMAIN_OR_PUBLIC_IP** of the machine and the **OPENVIDU_SECRET**. They are empty and execution will fail if you do not specify them. +**YOU MUST** specify the **DOMAIN_OR_PUBLIC_IP** of the machine and the **OPENVIDU_SECRET**. They are empty and execution will fail if you do not specify them. If you have a domain name, generate a certificate with Let's Encrypt or put your own certificate. @@ -83,7 +83,7 @@ The `.env` file looks like this: # Domain name. If you do not have one, the public IP of the machine. # For example: 198.51.100.1, or openvidu.example.com -OPENVIDU_DOMAIN_OR_PUBLIC_IP= +DOMAIN_OR_PUBLIC_IP= # OpenVidu SECRET used for apps to connect to OpenVidu server and users to access to OpenVidu Dashboard OPENVIDU_SECRET= @@ -106,7 +106,7 @@ LETSENCRYPT_EMAIL=user@example.com ``` > **NOTE:** If you want to try OpenVidu in your linux development machine: -> * If you set `OPENVIDU_DOMAIN_OR_PUBLIC_IP=localhost` then in your browser you have to use `https://localhost/`. If you use `https://127.0.0.1/` instead, you will have some issues. +> * If you set `DOMAIN_OR_PUBLIC_IP=localhost` then in your browser you have to use `https://localhost/`. If you use `https://127.0.0.1/` instead, you will have some issues. > * OpenVidu services will use some host ports that have to be available: 80, 3478, 5442, 5443, 8888 and 6379. ### Videoconference application @@ -205,7 +205,7 @@ If you have any problem with the configuration, when you start OpenVidu the foll -------------------- * Property OPENVIDU_SECRET is not set. Cannot be empty. - * Property OPENVIDU_DOMAIN_OR_PUBLIC_IP is not set. Cannot be empty + * Property DOMAIN_OR_PUBLIC_IP is not set. Cannot be empty Fix config errors @@ -272,7 +272,7 @@ If `openvidu-server` detects some error, it will show it in the log. * CERTIFICATE_TYPE=selfsigned * OPENVIDU_CDR=false * OPENVIDU_CDR_PATH=/opt/openvidu/cdr - * OPENVIDU_DOMAIN_OR_PUBLIC_IP=my.domain.com + * DOMAIN_OR_PUBLIC_IP=my.domain.com * OPENVIDU_RECORDING=false * OPENVIDU_RECORDING_AUTOSTOP-TIMEOUT=120 * OPENVIDU_RECORDING_COMPOSED-URL=