[DOCS] Fix docker indents (#1103)

This commit is contained in:
Jesse Bannon 2024-10-26 20:54:57 -07:00 committed by GitHub
parent 102e2a9042
commit 43c10c19e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,22 +49,22 @@ Docker Compose is an easy "set it and forget it" install method. Follow the inst
:caption: compose.yaml :caption: compose.yaml
services: services:
ytdl-sub: ytdl-sub:
image: ghcr.io/jmbannon/ytdl-sub-gui:latest image: ghcr.io/jmbannon/ytdl-sub-gui:latest
container_name: ytdl-sub container_name: ytdl-sub
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=America/Los_Angeles - TZ=America/Los_Angeles
volumes: volumes:
- <path/to/ytdl-sub/config>:/config - <path/to/ytdl-sub/config>:/config
- <path/to/tv_shows>:/tv_shows # optional - <path/to/tv_shows>:/tv_shows # optional
- <path/to/movies>:/movies # optional - <path/to/movies>:/movies # optional
- <path/to/music_videos>:/music_videos # optional - <path/to/music_videos>:/music_videos # optional
- <path/to/music>:/music # optional - <path/to/music>:/music # optional
ports: ports:
- 8443:8443 - 8443:8443
restart: unless-stopped restart: unless-stopped
.. tab-item:: Headless Image .. tab-item:: Headless Image
@ -72,21 +72,21 @@ Docker Compose is an easy "set it and forget it" install method. Follow the inst
:caption: compose.yaml :caption: compose.yaml
services: services:
ytdl-sub: ytdl-sub:
image: ghcr.io/jmbannon/ytdl-sub:latest image: ghcr.io/jmbannon/ytdl-sub:latest
container_name: ytdl-sub container_name: ytdl-sub
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=America/Los_Angeles - TZ=America/Los_Angeles
- DOCKER_MODS=linuxserver/mods:universal-cron - DOCKER_MODS=linuxserver/mods:universal-cron
volumes: volumes:
- <path/to/ytdl-sub/config>:/config - <path/to/ytdl-sub/config>:/config
- <path/to/tv_shows>:/tv_shows # optional - <path/to/tv_shows>:/tv_shows # optional
- <path/to/movies>:/movies # optional - <path/to/movies>:/movies # optional
- <path/to/music_videos>:/music_videos # optional - <path/to/music_videos>:/music_videos # optional
- <path/to/music>:/music # optional - <path/to/music>:/music # optional
restart: unless-stopped restart: unless-stopped
Device Passthrough Device Passthrough
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
@ -120,19 +120,19 @@ GPU Passthrough
:emphasize-lines: 5-13 :emphasize-lines: 5-13
services: services:
ytdl-sub: ytdl-sub:
image: ghcr.io/jmbannon/ytdl-sub-gui:latest image: ghcr.io/jmbannon/ytdl-sub-gui:latest
container_name: ytdl-sub container_name: ytdl-sub
environment: environment:
- .. - ..
- NVIDIA_DRIVER_CAPABILITIES=all # Nvidia ENV args - NVIDIA_DRIVER_CAPABILITIES=all # Nvidia ENV args
- NVIDIA_VISIBLE_DEVICES=all - NVIDIA_VISIBLE_DEVICES=all
deploy: deploy:
resources: resources:
reservations: reservations:
devices: devices:
- capabilities: ["gpu"] # GPU passthrough - capabilities: ["gpu"] # GPU passthrough
restart: unless-stopped restart: unless-stopped
Docker CLI Docker CLI
---------- ----------