Replace lazylibrarian with two readarr instances

This commit is contained in:
Colin Hebert
2023-01-22 10:43:16 +01:00
parent 6b2c80b672
commit fce97a3bb2

View File

@@ -1,9 +1,9 @@
name: Book collector
services:
lazylibrarian:
hostname: lazylibrarian
image: linuxserver/lazylibrarian
readarr-audiobook:
hostname: readaarr-audiobook
image: linuxserver/readarr:develop # TODO: Move to a stable version
profiles: [ebooks]
environment:
PUID: ${NASCOMPOSE_UID?}
@@ -13,15 +13,15 @@ services:
- torrents
- usenet
volumes:
- lazylibrarian_config:/config/
- readarr_config:/config/
- data:/data/
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.lazylibrarian.middlewares: authelia@file
traefik.http.routers.readarr.middlewares: authelia@file
readarr:
hostname: readarr
readarr-ebook:
hostname: raeadarr-ebook
image: linuxserver/readarr:develop # TODO: Move to a stable version
profiles: [ebooks]
environment:
@@ -54,13 +54,13 @@ volumes:
o: bind
device: ${NASCOMPOSE_DATA?}
lazylibrarian_config:
readarr-audiobook_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/book-collector/volumes/lazylibrarian_config/
readarr_config:
device: ${NASCOMPOSE_SERVICES?}/book-collector/volumes/readarr-audiobook_config/
readarr-ebook_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/book-collector/volumes/readarr_config/
device: ${NASCOMPOSE_SERVICES?}/book-collector/volumes/readarr-ebook_config/