Move collectors in respective services

This commit is contained in:
Colin Hebert
2023-01-21 12:27:30 +01:00
parent a14ce637be
commit 777d121d60
11 changed files with 215 additions and 115 deletions

View File

@@ -1,87 +1,6 @@
name: Collectors name: Collectors
services: services:
mylar:
image: linuxserver/mylar3
profiles: [ebooks]
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
volumes:
- mylar_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.mylar.middlewares: authelia@file
lazylibrarian:
image: linuxserver/lazylibrarian
profiles: [ebooks]
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
volumes:
- lazylibrarian_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.lazylibrarian.middlewares: authelia@file
sonarr:
image: linuxserver/sonarr
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
- torrents
- usenet
volumes:
- sonarr_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.sonarr.middlewares: authelia@file
radarr:
image: linuxserver/radarr
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
- torrents
- usenet
volumes:
- radarr_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.radarr.middlewares: authelia@file
bazarr:
image: linuxserver/bazarr
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
volumes:
- bazarr_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.bazarr.middlewares: authelia@file
ombi: ombi:
image: linuxserver/ombi image: linuxserver/ombi
environment: environment:
@@ -89,8 +8,9 @@ services:
PGID: ${NASCOMPOSE_GID?} PGID: ${NASCOMPOSE_GID?}
networks: networks:
- reverse-proxy - reverse-proxy
# TODO: connect directly to sonarr/radarr
- media-player - media-player
- tv-collector
- movie-collector
volumes: volumes:
- ombi_config:/config/ - ombi_config:/config/
restart: unless-stopped restart: unless-stopped
@@ -100,45 +20,14 @@ services:
networks: networks:
reverse-proxy: reverse-proxy:
external: true external: true
torrents: tv-collector:
external: true external: true
usenet: movie-collector:
external: true external: true
media-player: media-player:
external: true external: true
volumes: volumes:
data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}
mylar_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/mylar/config/
lazylibrarian_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/lazylibrarian/config/
sonarr_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/sonarr/config/
radarr_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/radarr/config/
bazarr_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/bazarr/config/
ombi_config: ombi_config:
driver_opts: driver_opts:
type: none type: none

View File

@@ -0,0 +1,41 @@
name: Book collector
services:
lazylibrarian:
image: linuxserver/lazylibrarian
profiles: [ebooks]
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
- torrents
- usenet
volumes:
- lazylibrarian_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.lazylibrarian.middlewares: authelia@file
networks:
reverse-proxy:
external: true
torrents:
external: true
usenet:
external: true
volumes:
data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}
lazylibrarian_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/book-collector/volumes/lazylibrarian_config/

View File

@@ -0,0 +1,41 @@
name: Comic collector
services:
mylar:
image: linuxserver/mylar3
profiles: [ebooks]
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
- torrents
- usenet
volumes:
- mylar_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.mylar.middlewares: authelia@file
networks:
reverse-proxy:
external: true
torrents:
external: true
usenet:
external: true
volumes:
data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}
mylar_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/comic-collector/volumes/mylar_config/

View File

@@ -0,0 +1,43 @@
name: Movie collector
services:
radarr:
image: linuxserver/radarr
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
- movie-collector
- torrents
- usenet
volumes:
- radarr_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.radarr.middlewares: authelia@file
networks:
movie-collector:
reverse-proxy:
external: true
torrents:
external: true
usenet:
external: true
volumes:
data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}
radarr_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/radarr/config/

View File

@@ -0,0 +1,41 @@
name: Subtitle collector
services:
bazarr:
image: linuxserver/bazarr
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
- movie-collector
- tv-collector
volumes:
- bazarr_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.bazarr.middlewares: authelia@file
networks:
reverse-proxy:
external: true
movie-collector:
external: true
tv-collector:
external: true
volumes:
data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}
bazarr_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/subtitle-collector/volumes/bazarr_config/

View File

@@ -0,0 +1,45 @@
name: TV collector
services:
sonarr:
image: linuxserver/sonarr
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
- tv-collector
- torrents
- usenet
volumes:
- sonarr_config:/config/
- data:/data
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.sonarr.middlewares: authelia@file
networks:
tv-collector:
reverse-proxy:
external: true
torrents:
external: true
usenet:
external: true
media-player:
external: true
volumes:
data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}
sonarr_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/tv-collector/volumes/sonarr_config/