Skip to content

Commit

Permalink
Code autogenerated from Kurento/doc-kurento@c8ed35b
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkinskurento committed Nov 12, 2020
1 parent 8551fb2 commit 56c3b84
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
8 changes: 7 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@
language = 'en'

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# pygments_style = 'abap'
# pygments_style = 'default'
# pygments_style = 'manni'
# pygments_style = 'monokai'
pygments_style = 'tango'
# pygments_style = 'trac'
# pygments_style = 'xcode'


# -- Extensions configuration ---------------------------------------------
Expand Down
24 changes: 20 additions & 4 deletions source/user/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Frequently Asked Questions
==========================

.. contents:: Table of Contents



.. _faq-nat-ice-stun-turn:

About NAT, ICE, STUN, TURN
Expand Down Expand Up @@ -293,24 +297,36 @@ Docker is the recommended method of deploying Kurento Media Server, because it m
How to edit configuration files?
--------------------------------

If you want to provide your own configuration files to the Kurento Docker image, you can use either a Docker `bind-mount <https://docs.docker.com/storage/bind-mounts/>`__ or `volume <https://docs.docker.com/storage/volumes/>`__.

However, the first thing you'll need are the actual files! You can get them with these commands:
If you want to provide your own configuration files to the Kurento Docker image, the easiest method is to provide them through a `bind-mount <https://docs.docker.com/storage/bind-mounts/>`__. However, the first thing you'll need are the actual files; run these commands to get the default ones from the Kurento Docker image:

.. code-block:: shell
CONTAINER="$(docker create kurento/kurento-media-server:latest)"
docker cp "$CONTAINER":/etc/kurento/. ./etc-kurento
docker rm "$CONTAINER"
Now, edit the files as needed. Later, provide them to newly created containers as a bind-mount:
Now, edit the files as needed. Later, provide them to newly created containers:

.. code-block:: shell
docker run -d --name kms --network host \
--mount type=bind,src="$PWD/etc-kurento",dst=/etc/kurento \
kurento/kurento-media-server:latest
The equivalent definition for Docker Compose would look like this:

.. code-block:: yaml
version: "3.8"
services:
kms:
image: kurento/kurento-media-server:latest
network_mode: host
volumes:
- type: bind
source: ./etc-kurento
target: /etc/kurento
Where are my recordings?
Expand Down

0 comments on commit 56c3b84

Please sign in to comment.