Update readme

pull/431/head
OscarSotoSanchez 2020-03-27 16:46:32 +01:00
parent 45c75a54c1
commit e133c65c32
3 changed files with 45 additions and 2 deletions

View File

@ -6,7 +6,7 @@
OPENVIDU_SECRET=MY_SECRET OPENVIDU_SECRET=MY_SECRET
# Domain name. If you do not have one, the public IP of the machine. # Domain name. If you do not have one, the public IP of the machine.
DOMAIN_OR_PUBLIC_IP=192.168.1.66 DOMAIN_OR_PUBLIC_IP=openvidu.example.com
# Openvidu Folder Record used for save the openvidu recording videos. Change it # Openvidu Folder Record used for save the openvidu recording videos. Change it
# with the folder you want to use from your host. # with the folder you want to use from your host.
@ -30,5 +30,19 @@ LETSENCRYPT_EMAIL=user@example.com
# Kurento Media Server image # Kurento Media Server image
# -------------------------- # --------------------------
# Docker hub kurento media server: https://hub.docker.com/r/kurento/kurento-media-server-dev # Docker hub kurento media server: https://hub.docker.com/r/kurento/kurento-media-server-dev
# Uncomment the next line and write the KMS image that you want use # Uncomment the next line and define this variable with KMS image that you want use
# KMS_IMAGE=kurento-media-server-dev:6.13 # KMS_IMAGE=kurento-media-server-dev:6.13
# Kurento Media Server Level logs
# -------------------------------
# Uncomment the next line and define this variable to change
# the verbosity level of the logs of KMS
# Documentation: https://doc-kurento.readthedocs.io/en/stable/features/logging.html
# KMS_DEBUG_LEVEL=3,Kurento*:4,kms*:4,sdp*:4,webrtc*:4,*rtpendpoint:4,rtp*handler:4,rtpsynchronizer:4,agnosticbin:4
# Openvidu Server Level logs
# --------------------------
# Uncomment the next line and define this variable to change
# the verbosity level of the logs of Openvidu Service
# RECOMENDED VALUES: INFO for normal logs DEBUG for more verbose logs
# OV_CE_DEBUG_LEVEL=INFO

View File

@ -22,6 +22,7 @@ services:
- KMS_URIS="[\"ws://127.0.0.1:8888/kurento\"]" - KMS_URIS="[\"ws://127.0.0.1:8888/kurento\"]"
- COTURN_IP=${DOMAIN_OR_PUBLIC_IP} - COTURN_IP=${DOMAIN_OR_PUBLIC_IP}
- COTURN_REDIS_IP=127.0.0.1 - COTURN_REDIS_IP=127.0.0.1
- LOGGING_LEVEL_ROOT=${OV_CE_DEBUG_LEVEL:-INFO}
kms: kms:
image: kurento/${KMS_IMAGE:-kurento-media-server-dev:6.13} image: kurento/${KMS_IMAGE:-kurento-media-server-dev:6.13}
@ -31,6 +32,7 @@ services:
- KMS_EXTERNAL_ADDRESS=auto - KMS_EXTERNAL_ADDRESS=auto
- KMS_MIN_PORT=40000 - KMS_MIN_PORT=40000
- KMS_MAX_PORT=57000 - KMS_MAX_PORT=57000
- GST_DEBUG=${KMS_DEBUG_LEVEL:-3,Kurento*:4,kms*:4,sdp*:4,webrtc*:4,*rtpendpoint:4,rtp*handler:4,rtpsynchronizer:4,agnosticbin:4}
redis-db: redis-db:
image: redis:5.0.7 image: redis:5.0.7

View File

@ -63,3 +63,30 @@ For to stop the application exec this command:
`docker-compose down` `docker-compose down`
### Troubleshooting
#### Show service logs
If you need show the service logs only need exec this command:
`docker-compose logs NAME_SERVICE`
Change `NAME_SERVICE` using one the next names:
- openvidu-server: For show the Openvidu Server logs
- kms: For show theKurento Media Server logs
- openvidu-proxy: For show the Openvidu Proxy logs
- openvidu-coturn: For show the COTURN logs
- app: For show the app logs
#### Level logs of services
##### Kurento Media Server Level logs
If it was necessary to change the level of the kms logs. In the .en file we go to the section "Kurento Media Server Level logs" and change the variable `KMS_DEBUG_LEVEL` for more information https://doc-kurento.readthedocs.io/en/stable/features/logging.html
##### Openvidu Server Level logs
If it was necessary to change the level of the kms logs. In the .en file we go to the section "Openvidu Server Level logs" and change the variable `OV_CE_DEBUG_LEVEL`
#### Change Kurento Media Server
If is necessaries change the Kurento Media Server image, go to the Kurento Media Server image section in the .env file and change the variable `KMS_IMAGE` with the new image that your want use