Rename folders to enable atomic movies/hardlinks

This commit is contained in:
Colin Hebert
2023-01-06 16:35:50 +01:00
parent f4daf7342e
commit 099494fc28
12 changed files with 19 additions and 59 deletions

View File

@@ -13,9 +13,7 @@ services:
- downloads
volumes:
- mylar_config:/config/
- comics:/comics/
- torrents_completed:/downloads/torrents/
- usenet_completed:/downloads/usenet/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
@@ -32,9 +30,7 @@ services:
- downloads
volumes:
- lazylibrarian_config:/config/
- books:/books/
- torrents_completed:/downloads/torrents/
- usenet_completed:/downloads/usenet/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
@@ -50,9 +46,7 @@ services:
- downloads
volumes:
- sonarr_config:/config/
- tv:/tv/
- torrents_completed:/downloads/torrents/
- usenet_completed:/downloads/usenet/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
@@ -68,9 +62,7 @@ services:
- downloads
volumes:
- radarr_config:/config/
- movies:/movies/
- torrents_completed:/downloads/torrents/
- usenet_completed:/downloads/usenet/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
@@ -85,8 +77,7 @@ services:
- gotify
volumes:
- bazarr_config:/config/
- movies:/movies/
- tv:/tv/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
@@ -114,19 +105,11 @@ networks:
external: true
volumes:
books:
external: true
comics:
external: true
movies:
external: true
tv:
external: true
torrents_completed:
external: true
usenet_completed:
external: true
data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}
mylar_config:
driver_opts:

View File

@@ -1,15 +1,6 @@
name: Downloads
services:
dummy:
image: alpine
entrypoint: sleep infinity
volumes:
- torrents:/torrents/
- torrents_completed:/torrents/completed
- usenet:/usenet/
- usenet_completed:/usenet/completed
prowlarr:
image: linuxserver/prowlarr
environment:
@@ -99,34 +90,21 @@ networks:
external: true
volumes:
torrents_completed:
name: torrents_completed
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DOWNLOADS?}/torrents/completed/
usenet_completed:
name: usenet_completed
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DOWNLOADS?}/usenet/completed/
torrents:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DOWNLOADS?}/torrents/
device: ${NASCOMPOSE_DATA?}/torrents/
usenet:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DOWNLOADS?}/usenet/
device: ${NASCOMPOSE_DATA?}/usenet/
youtube:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DOWNLOADS?}/youtube/
device: ${NASCOMPOSE_DATA?}/youtube/
prowlarr_config:
driver_opts:

View File

@@ -63,32 +63,32 @@ volumes:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_MEDIA?}/books/
device: ${NASCOMPOSE_DATA?}/media/books/
comics:
name: comics
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_MEDIA?}/comics/
device: ${NASCOMPOSE_DATA?}/media/comics/
movies:
name: movies
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_MEDIA?}/movies/
device: ${NASCOMPOSE_DATA?}/media/movies/
tv:
name: tv
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_MEDIA?}/tv/
device: ${NASCOMPOSE_DATA?}/media/tv/
# TODO: Manage recycle bin properly...
recycle_bin:
name: recycle_bin
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_MEDIA?}/recycle_bin/
device: ${NASCOMPOSE_DATA?}/media/recycle_bin/
plex_config:
driver_opts:

View File

@@ -4,8 +4,7 @@ NASCOMPOSE_UID=1000
NASCOMPOSE_GID=1000
NASCOMPOSE_SERVICES=
NASCOMPOSE_DOWNLOADS=
NASCOMPOSE_MEDIA=
NASCOMPOSE_DATA=
NASCOMPOSE_MACVLAN_IFACE=
NASCOMPOSE_MACVLAN_SUBNET=