albert ревизій цього gist 9 months ago. До ревизії
1 file changed, 4 insertions, 4 deletions
media.yaml
| @@ -18,8 +18,7 @@ services: | |||
| 18 | 18 | environment: | |
| 19 | 19 | - PUID=${PUID} | |
| 20 | 20 | - PGID=${PGID} | |
| 21 | - | - VERSION=docker | |
| 22 | - | # You need the UUID of your GPU :: $ nvidia-smi --query-gpu=gpu_name,uuid --format=csv | |
| 21 | + | # Replace <uuid> with your GPU's UUID from :: $ nvidia-smi --query-gpu=uuid --format=csv,noheader | |
| 23 | 22 | - NVIDIA_VISIBLE_DEVICES=<uuid> | |
| 24 | 23 | volumes: | |
| 25 | 24 | - /etc/localtime:/etc/localtime:ro | |
| @@ -37,6 +36,7 @@ services: | |||
| 37 | 36 | capabilities: [gpu] | |
| 38 | 37 | ||
| 39 | 38 | qbittorrent: | |
| 39 | + | # Slow speeds with v2, so we use v1 | |
| 40 | 40 | image: lscr.io/linuxserver/qbittorrent:libtorrentv1 | |
| 41 | 41 | container_name: qbittorrent | |
| 42 | 42 | environment: | |
| @@ -50,7 +50,7 @@ services: | |||
| 50 | 50 | restart: unless-stopped | |
| 51 | 51 | ports: | |
| 52 | 52 | - 8081:8081 | |
| 53 | - | - 53966:53966 | |
| 53 | + | - 53966:53966 # Forward this port on your router | |
| 54 | 54 | ||
| 55 | 55 | sonarr: | |
| 56 | 56 | image: lscr.io/linuxserver/sonarr | |
| @@ -97,10 +97,10 @@ services: | |||
| 97 | 97 | image: fallenbagel/jellyseerr:latest | |
| 98 | 98 | container_name: jellyseerr | |
| 99 | 99 | environment: | |
| 100 | - | - /etc/localtime:/etc/localtime:ro | |
| 101 | 100 | - PUID=${PUID} | |
| 102 | 101 | - PGID=${PGID} | |
| 103 | 102 | volumes: | |
| 103 | + | - /etc/localtime:/etc/localtime:ro | |
| 104 | 104 | - ${CONFIG}/jellyseerr:/app/config | |
| 105 | 105 | ports: | |
| 106 | 106 | - 5055:5055 | |
albert ревизій цього gist 9 months ago. До ревизії
1 file changed, 116 insertions
media.yaml(файл створено)
| @@ -0,0 +1,116 @@ | |||
| 1 | + | # Arr media stack w/ Docker Compose | |
| 2 | + | # | |
| 3 | + | # This stack is only tested with an NVIDIA graphics card (see jellyfin service), | |
| 4 | + | # make sure you have installed the correct drivers beforehand. | |
| 5 | + | # | |
| 6 | + | # ENVIRONMENT VARIABLES | |
| 7 | + | # ${MEDIA} :: this is where large files are stored e.g. your nas' mountpoint | |
| 8 | + | # ${CONFIG} :: this is where persistent application configs and data are stored | |
| 9 | + | # | |
| 10 | + | # Don't use root! https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user | |
| 11 | + | # ${PUID} :: id -u | |
| 12 | + | # ${PGID} :: id -g | |
| 13 | + | ||
| 14 | + | services: | |
| 15 | + | jellyfin: | |
| 16 | + | image: lscr.io/linuxserver/jellyfin | |
| 17 | + | container_name: jellyfin | |
| 18 | + | environment: | |
| 19 | + | - PUID=${PUID} | |
| 20 | + | - PGID=${PGID} | |
| 21 | + | - VERSION=docker | |
| 22 | + | # You need the UUID of your GPU :: $ nvidia-smi --query-gpu=gpu_name,uuid --format=csv | |
| 23 | + | - NVIDIA_VISIBLE_DEVICES=<uuid> | |
| 24 | + | volumes: | |
| 25 | + | - /etc/localtime:/etc/localtime:ro | |
| 26 | + | - ${MEDIA}:/data | |
| 27 | + | - ${CONFIG}/jellyfin:/config | |
| 28 | + | ports: | |
| 29 | + | - 8096:8096 | |
| 30 | + | restart: unless-stopped | |
| 31 | + | deploy: | |
| 32 | + | resources: | |
| 33 | + | reservations: | |
| 34 | + | devices: | |
| 35 | + | - driver: nvidia | |
| 36 | + | count: all | |
| 37 | + | capabilities: [gpu] | |
| 38 | + | ||
| 39 | + | qbittorrent: | |
| 40 | + | image: lscr.io/linuxserver/qbittorrent:libtorrentv1 | |
| 41 | + | container_name: qbittorrent | |
| 42 | + | environment: | |
| 43 | + | - PUID=${PUID} | |
| 44 | + | - PGID=${PGID} | |
| 45 | + | - WEBUI_PORT=8081 | |
| 46 | + | volumes: | |
| 47 | + | - /etc/localtime:/etc/localtime:ro | |
| 48 | + | - ${MEDIA}:/data | |
| 49 | + | - ${CONFIG}/qbittorrent:/config | |
| 50 | + | restart: unless-stopped | |
| 51 | + | ports: | |
| 52 | + | - 8081:8081 | |
| 53 | + | - 53966:53966 | |
| 54 | + | ||
| 55 | + | sonarr: | |
| 56 | + | image: lscr.io/linuxserver/sonarr | |
| 57 | + | container_name: sonarr | |
| 58 | + | environment: | |
| 59 | + | - PUID=${PUID} | |
| 60 | + | - PGID=${PGID} | |
| 61 | + | volumes: | |
| 62 | + | - /etc/localtime:/etc/localtime:ro | |
| 63 | + | - ${MEDIA}:/data | |
| 64 | + | - ${CONFIG}/sonarr:/config | |
| 65 | + | ports: | |
| 66 | + | - 8989:8989 | |
| 67 | + | restart: unless-stopped | |
| 68 | + | ||
| 69 | + | radarr: | |
| 70 | + | image: lscr.io/linuxserver/radarr | |
| 71 | + | container_name: radarr | |
| 72 | + | environment: | |
| 73 | + | - PUID=${PUID} | |
| 74 | + | - PGID=${PGID} | |
| 75 | + | volumes: | |
| 76 | + | - /etc/localtime:/etc/localtime:ro | |
| 77 | + | - ${MEDIA}:/data | |
| 78 | + | - ${CONFIG}/radarr:/config | |
| 79 | + | ports: | |
| 80 | + | - 7878:7878 | |
| 81 | + | restart: unless-stopped | |
| 82 | + | ||
| 83 | + | prowlarr: | |
| 84 | + | image: lscr.io/linuxserver/prowlarr | |
| 85 | + | container_name: prowlarr | |
| 86 | + | environment: | |
| 87 | + | - PUID=${PUID} | |
| 88 | + | - PGID=${PGID} | |
| 89 | + | volumes: | |
| 90 | + | - /etc/localtime:/etc/localtime:ro | |
| 91 | + | - ${CONFIG}/prowlarr:/config | |
| 92 | + | ports: | |
| 93 | + | - 9696:9696 | |
| 94 | + | restart: unless-stopped | |
| 95 | + | ||
| 96 | + | jellyseerr: | |
| 97 | + | image: fallenbagel/jellyseerr:latest | |
| 98 | + | container_name: jellyseerr | |
| 99 | + | environment: | |
| 100 | + | - /etc/localtime:/etc/localtime:ro | |
| 101 | + | - PUID=${PUID} | |
| 102 | + | - PGID=${PGID} | |
| 103 | + | volumes: | |
| 104 | + | - ${CONFIG}/jellyseerr:/app/config | |
| 105 | + | ports: | |
| 106 | + | - 5055:5055 | |
| 107 | + | restart: unless-stopped | |
| 108 | + | ||
| 109 | + | watchtower: | |
| 110 | + | image: containrrr/watchtower | |
| 111 | + | container_name: watchtower | |
| 112 | + | environment: | |
| 113 | + | - WATCHTOWER_CLEANUP=true | |
| 114 | + | volumes: | |
| 115 | + | - /var/run/docker.sock:/var/run/docker.sock | |
| 116 | + | restart: unless-stopped | |