Files
nas-compose/services/book-collector/docker-compose.yml
2023-02-05 11:57:26 +11:00

67 lines
1.5 KiB
YAML

name: Book collector
services:
readarr-audiobook:
hostname: readarr-audiobook
image: linuxserver/readarr:develop # TODO: Move to a stable version
profiles: [ebooks]
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
- torrents
- usenet
volumes:
- readarr-audiobook_config:/config/
- data:/data/
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.readarr-audiobook.middlewares: authelia@file
readarr-ebook:
hostname: readarr-ebook
image: linuxserver/readarr:develop # TODO: Move to a stable version
profiles: [ebooks]
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
- torrents
- usenet
volumes:
- readarr-ebook_config:/config/
- data:/data/
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.readarr-ebook.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?}
readarr-audiobook_config:
driver_opts:
type: none
o: bind
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-ebook_config/