Migrate calibre-web to books stack

This commit is contained in:
Joey Hafner 2024-09-06 13:45:21 -07:00
parent 5ffd89514f
commit 67fc3688f0
No known key found for this signature in database
4 changed files with 47 additions and 51 deletions

View File

@ -1 +0,0 @@
LIBRARY_DIR=/mnt/nas/calibre-web

View File

@ -1,50 +0,0 @@
services:
calibre-web-rpg:
image: linuxserver/calibre-web:latest
container_name: calibre-web_rpg
environment:
PUID: 1000
PGID: 1000
TZ: America/Los_Angeles
volumes:
- calibre-web-rpg_data:/config
- $LIBRARY_DIR/rpg:/books
labels:
- traefik.http.routers.calibre-rpg.rule=Host(`rpg.calibre.jafner.net`)
- traefik.http.routers.calibre-rpg.tls.certresolver=lets-encrypt
- homepage.group=Public
- homepage.name=RPG Library
- homepage.icon=Calibre-web.png
- homepage.href=https://rpg.calibre.jafner.net
- homepage.description=Library of RPG ebooks
networks:
- web
calibre-web-sff:
image: linuxserver/calibre-web:latest
container_name: calibre-web_sff
environment:
PUID: 1000
PGID: 1000
TZ: America/Los_Angeles
volumes:
- calibre-web-sff_data:/config
- $LIBRARY_DIR/sff:/books
labels:
- traefik.http.routers.calibre-sff.rule=Host(`sff.calibre.jafner.net`)
- traefik.http.routers.calibre-sff.tls.certresolver=lets-encrypt
- homepage.group=Public
- homepage.name=Science Fiction and Fantasy Library
- homepage.icon=Calibre-web.png
- homepage.href=https://sff.calibre.jafner.net
- homepage.description=Library of science fiction and fantasy books
networks:
- web
networks:
web:
external: true
volumes:
calibre-web-rpg_data:
calibre-web-sff_data:

View File

@ -3,3 +3,4 @@ AUDIOBOOKS_LIBRARY=/mnt/nas/books/audiobooks
DOCKER_DATA=/home/admin/data/books
NZB_COMPLETED=/mnt/iscsi/barbarian/torrenting/NZB
NZB_INCOMPLETE=/mnt/iscsi/barbarian/torrenting/NZB_incomplete
LIBRARY_DIR=/mnt/nas/calibre-web

View File

@ -1,5 +1,47 @@
name: "books"
services:
calibre-web-rpg:
image: linuxserver/calibre-web:latest
container_name: calibre-web_rpg
environment:
PUID: 1000
PGID: 1000
TZ: America/Los_Angeles
volumes:
- calibre-web-rpg_data:/config
- $LIBRARY_DIR/rpg:/books
labels:
- traefik.http.routers.calibre-rpg.rule=Host(`rpg.calibre.jafner.net`)
- traefik.http.routers.calibre-rpg.tls.certresolver=lets-encrypt
- homepage.group=Public
- homepage.name=RPG Library
- homepage.icon=Calibre-web.png
- homepage.href=https://rpg.calibre.jafner.net
- homepage.description=Library of RPG ebooks
networks:
- web
calibre-web-sff:
image: linuxserver/calibre-web:latest
container_name: calibre-web_sff
environment:
PUID: 1000
PGID: 1000
TZ: America/Los_Angeles
volumes:
- calibre-web-sff_data:/config
- $LIBRARY_DIR/sff:/books
labels:
- traefik.http.routers.calibre-sff.rule=Host(`sff.calibre.jafner.net`)
- traefik.http.routers.calibre-sff.tls.certresolver=lets-encrypt
- homepage.group=Public
- homepage.name=Science Fiction and Fantasy Library
- homepage.icon=Calibre-web.png
- homepage.href=https://sff.calibre.jafner.net
- homepage.description=Library of science fiction and fantasy books
networks:
- web
sabnzbd:
image: linuxserver/sabnzbd:latest
container_name: books_sabnzbd
@ -89,3 +131,7 @@ services:
networks:
web:
external: true
volumes:
calibre-web-rpg_data:
calibre-web-sff_data: