From 26a7ac02b06cf2094f39c4ed5ce7990f83d69c28 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Wed, 21 Jun 2023 08:17:09 +0200 Subject: [PATCH] format text --- docker/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docker/README.md b/docker/README.md index 080b22b7..467d2aad 100644 --- a/docker/README.md +++ b/docker/README.md @@ -19,11 +19,11 @@ You can take a look à the [Dockerfile](Dockerfile) ## Storage -There are some folders/files that are important for ffplayout to work well such as : - - /usr/share/ffplayout/db => where all the data for the `ffpapi` are stored (user/pass etc) - - /var/lib/ffplayout/tv-media => where the media are stored by default (configurable) - - /var/lib/ffplayout/playlists => where playlists are stored (configurable) - - /etc/ffplayout/ffplayout.yml => the core config file +There are some folders/files that are important for ffplayout to work well such as: + - **/usr/share/ffplayout/db** => where all the data for the `ffpapi` are stored (user/pass etc) + - **/var/lib/ffplayout/tv-media** => where the media are stored by default (configurable) + - **/var/lib/ffplayout/playlists** => where playlists are stored (configurable) + - **/etc/ffplayout/ffplayout.yml** => the core config file It may be useful to create/link volume for those folders/files. @@ -46,12 +46,12 @@ docker build -f Almalinux.Dockerfile -t ffplayout-image:almalinux . example of command to start the container: -`docker run -ti --name ffplayout -v /sys/fs/cgroup:/sys/fs/cgroup:ro --cap-add SYS_ADMIN -p 8787:8787 ffplayout-image` +``` +docker run -ti --name ffplayout -v /sys/fs/cgroup:/sys/fs/cgroup:ro --cap-add SYS_ADMIN -p 8787:8787 ffplayout-image +``` -Note from CentOS docker hub page -` -There have been reports that if you're using an Ubuntu host, you will need to add -v /tmp/$(mktemp -d):/run in addition to the cgroups mount. -` +#### Note from CentOS docker hub page +There have been reports that if you're using an Ubuntu host, you will need to add `-v /tmp/$(mktemp -d):/run` in addition to the cgroups mount. ## Kubernetes