[DOCS] passthrough in README (#549)
This commit is contained in:
parent
ec51361728
commit
a96fcff55f
2 changed files with 27 additions and 25 deletions
|
|
@ -238,6 +238,8 @@ player to recognize downloads as:
|
||||||
`ytdl-sub` can be installed on the following platforms.
|
`ytdl-sub` can be installed on the following platforms.
|
||||||
|
|
||||||
- [Docker Compose](https://ytdl-sub.readthedocs.io/en/latest/install.html#docker-compose_)
|
- [Docker Compose](https://ytdl-sub.readthedocs.io/en/latest/install.html#docker-compose_)
|
||||||
|
- [with CPU passthrough](https://ytdl-sub.readthedocs.io/en/latest/install.html#cpu-passthrough)
|
||||||
|
- [with GPU passthrough](https://ytdl-sub.readthedocs.io/en/latest/install.html#nvidia-gpu-passthrough)
|
||||||
- [Docker CLI](https://ytdl-sub.readthedocs.io/en/latest/install.html#docker)
|
- [Docker CLI](https://ytdl-sub.readthedocs.io/en/latest/install.html#docker)
|
||||||
- [Windows](https://ytdl-sub.readthedocs.io/en/latest/install.html#windows)
|
- [Windows](https://ytdl-sub.readthedocs.io/en/latest/install.html#windows)
|
||||||
- [Linux](https://ytdl-sub.readthedocs.io/en/latest/install.html#linux)
|
- [Linux](https://ytdl-sub.readthedocs.io/en/latest/install.html#linux)
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,31 @@ on how set up a cron job in the docker container.
|
||||||
- <path/to/music>:/music # optional
|
- <path/to/music>:/music # optional
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
CPU Passthrough
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
For CPU passthrough, you must use the ``ytdl-sub`` Ubuntu version with the following additions:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
services:
|
||||||
|
ytdl-sub:
|
||||||
|
image: ghcr.io/jmbannon/ytdl-sub:ubuntu-latest
|
||||||
|
container_name: ytdl-sub
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=America/Los_Angeles
|
||||||
|
- DOCKER_MODS=linuxserver/mods:universal-cron
|
||||||
|
volumes:
|
||||||
|
- <path/to/ytdl-sub/config>:/config
|
||||||
|
- <path/to/tv_shows>:/tv_shows # optional
|
||||||
|
- <path/to/movies>:/movies # optional
|
||||||
|
- <path/to/music_videos>:/music_videos # optional
|
||||||
|
- <path/to/music>:/music # optional
|
||||||
|
devices:
|
||||||
|
- /dev/dri:/dev/dri # CPU passthrough
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
Nvidia GPU Passthrough
|
Nvidia GPU Passthrough
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
For GPU passthrough, you must use the ``ytdl-sub`` Ubuntu version with the following additions:
|
For GPU passthrough, you must use the ``ytdl-sub`` Ubuntu version with the following additions:
|
||||||
|
|
@ -69,31 +94,6 @@ For GPU passthrough, you must use the ``ytdl-sub`` Ubuntu version with the follo
|
||||||
- capabilities: [gpu] # GPU passthrough
|
- capabilities: [gpu] # GPU passthrough
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
CPU Passthrough
|
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
For CPU passthrough, you must use the ``ytdl-sub`` Ubuntu version with the following additions:
|
|
||||||
|
|
||||||
.. code-block:: yaml
|
|
||||||
|
|
||||||
services:
|
|
||||||
ytdl-sub:
|
|
||||||
image: ghcr.io/jmbannon/ytdl-sub:ubuntu-latest
|
|
||||||
container_name: ytdl-sub
|
|
||||||
environment:
|
|
||||||
- PUID=1000
|
|
||||||
- PGID=1000
|
|
||||||
- TZ=America/Los_Angeles
|
|
||||||
- DOCKER_MODS=linuxserver/mods:universal-cron
|
|
||||||
volumes:
|
|
||||||
- <path/to/ytdl-sub/config>:/config
|
|
||||||
- <path/to/tv_shows>:/tv_shows # optional
|
|
||||||
- <path/to/movies>:/movies # optional
|
|
||||||
- <path/to/music_videos>:/music_videos # optional
|
|
||||||
- <path/to/music>:/music # optional
|
|
||||||
devices:
|
|
||||||
- /dev/dri:/dev/dri # CPU passthrough
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
Docker
|
Docker
|
||||||
--------------
|
--------------
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue