Add calibre to mediaserver stack.
Investigating using calibre-web insteado of the full desktop app. hopefully this works out well with using readarr as the primary management interface.
This commit is contained in:
parent
c0a7ec54bf
commit
7982871e25
@ -20,9 +20,9 @@
|
||||
- name: ensure traefik.log exists
|
||||
file: state=file path=/home/josiah/apps/traefik/traefik.log owner=josiah group=josiah mode=0700
|
||||
|
||||
- name: Create deploy configs dir if it does not exist
|
||||
- name: Create calibre config dir
|
||||
file:
|
||||
path: /home/josiah/deploys/abjure
|
||||
path: /home/josiah/apps/calibre
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
|
@ -88,6 +88,27 @@ services:
|
||||
networks:
|
||||
- pubnet
|
||||
|
||||
calibre-web:
|
||||
image: lscr.io/linuxserver/calibre-web:latest
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- DOCKER_MODS=linuxserver/mods:universal-calibre #optional
|
||||
- OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional
|
||||
volumes:
|
||||
- /home/josiah/apps/calibre/:/config
|
||||
- /media/usenet/book-library/readarr/:/books
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.mediaserver-calibre.loadbalancer.server.port=8083"
|
||||
- "traefik.http.routers.mediaserver-calibre.service=mediaserver-calibre"
|
||||
- "traefik.http.routers.mediaserver-calibre.rule=Host(`calibre.services.jowj.net`)"
|
||||
- "traefik.http.routers.mediaserver-calibre.tls.certResolver=mediaserver-resolver"
|
||||
- "traefik.http.routers.mediaserver-calibre.tls=true"
|
||||
networks:
|
||||
- pubnet
|
||||
|
||||
volumes:
|
||||
traefik_acme:
|
||||
traefik_logs:
|
||||
|
@ -216,3 +216,15 @@ resource "digitalocean_record" "pms-services-jowj-net" {
|
||||
value = "lair.home.jowj.net."
|
||||
weight = "0"
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "calibre-services-jowj-net" {
|
||||
domain = "services.jowj.net"
|
||||
flags = "0"
|
||||
name = "calibre"
|
||||
port = "0"
|
||||
priority = "0"
|
||||
ttl = "900"
|
||||
type = "CNAME"
|
||||
value = "lair.home.jowj.net."
|
||||
weight = "0"
|
||||
}
|
Loading…
Reference in New Issue
Block a user