Skip to content

Commit

Permalink
format text
Browse files Browse the repository at this point in the history
  • Loading branch information
jb-alvarado committed Jun 21, 2023
1 parent c4d5aec commit 26a7ac0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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

Expand Down

0 comments on commit 26a7ac0

Please sign in to comment.