From 4020d2f4c2954e824702515d1499f0902df82c3e Mon Sep 17 00:00:00 2001 From: Jean Froment Date: Mon, 7 Nov 2022 22:01:03 +0100 Subject: [PATCH] Add calibre + calibre-web (disabled by default) --- .env.sample | 2 ++ README.md | 1 + config.sample.yaml | 13 +++++++++++++ services/calibre.yaml | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 services/calibre.yaml diff --git a/.env.sample b/.env.sample index d108c91..36da1f2 100644 --- a/.env.sample +++ b/.env.sample @@ -38,6 +38,8 @@ PORTAINER_ADMIN_PASSWORD=h4ckMePleAse FLOOD_PASSWORD=myfloodpassword FLOOD_AUTOCREATE_USER_IN_DELUGE_DAEMON=false +CALIBRE_PASSWORD=mycalibrepassword + # Wireguard custom endpoint WIREGUARD_ENDPOINT= WIREGUARD_PORT=51820 diff --git a/README.md b/README.md index 4f82ec3..0dfa3d4 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Version 2 is released, please make sure you read [this V2 Migration Guide](doc/U | Bazarr | bazarr.yourdomain.com | [linuxserver/bazarr](https://hub.docker.com/r/linuxserver/bazarr) | *latest* | Subtitles monitor | | Lidarr | lidarr.yourdomain.com | [linuxserver/lidarr](https://hub.docker.com/r/linuxserver/lidarr) | *develop* | Music monitor | | Readarr | readarr.yourdomain.com | [linuxserver/readarr](https://hub.docker.com/r/linuxserver/readarr) | *nightly* | Ebook and comic monitor | +| Calibre + Calibre-web | calibre.yourdomain.com | [linuxserver/calibre-web](https://hub.docker.com/r/linuxserver/calibre-web) | *latest* | Book management + UI | | Komga | komga.yourdomain.com | [gotson/komga](https://hub.docker.com/r/gotson/komga) | *latest* | Comic Book Manager | | Kavita | Kavita.yourdomain.com | [gotson/komga](https://hub.docker.com/r/gotson/komga) | *latest* | Comic Book Manager | | Ombi | ombi.yourdomain.com | [linuxserver/ombi](https://hub.docker.com/r/linuxserver/ombi) | *latest* | Plex content requests | diff --git a/config.sample.yaml b/config.sample.yaml index 9eb973b..6590df8 100644 --- a/config.sample.yaml +++ b/config.sample.yaml @@ -111,6 +111,19 @@ services: - host: readarr.${TRAEFIK_DOMAIN} httpAuth: true internalPort: 8787 + - name: calibre + enabled: false + vpn: false + traefik: + enabled: true + rules: + - host: calibre-admin.${TRAEFIK_DOMAIN} + httpAuth: true + internalPort: 8080 + - host: calibre.${TRAEFIK_DOMAIN} + httpAuth: true + service: calibre-web + internalPort: 8083 - name: komga enabled: false vpn: false diff --git a/services/calibre.yaml b/services/calibre.yaml new file mode 100644 index 0000000..a6c02be --- /dev/null +++ b/services/calibre.yaml @@ -0,0 +1,32 @@ +services: + calibre: + image: ghcr.io/linuxserver/calibre + container_name: calibre + restart: always + environment: + - PGID=${PGID} + - PUID=${PUID} + - TZ=${TZ} + - PASSWORD=${CALIBRE_PASSWORD} + - CLI_ARGS= + volumes: + - configcalibre:/config + + calibre-web: + image: hcr.io/linuxserver/calibre-web + container_name: calibre-web + restart: always + environment: + - PGID=${PGID} + - PUID=${PUID} + - TZ=${TZ} + - DOCKER_MODS=linuxserver/mods:universal-calibre + - OAUTHLIB_RELAX_TOKEN_SCOPE=1 + volumes: + - configcalibre:/config + +volumes: + configcalibre: + driver: local-persist + driver_opts: + mountpoint: $HOST_CONFIG_PATH/calibre \ No newline at end of file