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

View File

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

View File

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

View File

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