Giter Club home page Giter Club logo

calibre-kubernetes's Introduction

Kubernetes deployment of calibre-web

This is a Kubernetes deployment of calibre-web application which uses linuxserver/calibre-web docker image.

How to

Note This deployment assumes the Kubernetes cluster runs the NGINX Ingress Controller as ingress controller. If you use another ingress controller, you will have to adapt ingress.yml accordingly.

git clone https://github.com/devtud/calibre-kubernetes

Edit ingress.yml and replace your domain name on this line:

  - host: <your-domain>

Open deployment.yml and adapt the two values on the following lines according to your needs (the user id and group id which own the files on the host machine - do not set it as root!).

            - name: PUID
              value: "1001"
            - name: PGID
              value: "1001"

Apply the Kubernetes resources:

kubectl apply -f ns.yml
kubectl apply -f pv_books.yml
kubectl apply -f pv_config.yml
kubectl apply -f pvc_books.yml
kubectl apply -f pvc_config.yml
kubectl apply -f deployment.yml
kubectl apply -f service.yml
kubectl apply -f ingress.yml

Important Even though you can access the deployed calibre-web app at your address, you won't be able to use it, because neither the calibre-web app nor the docker image provide a Calibre database. You have to get a Calibre database first and upload it to /var/data/calibre/books/metadata.db (note that this is the path on your host machine where the persistent volume pv_books.yml is pointing to). One way of doing this is to install a fresh Calibre on your computer and copy the metadata.db file from your computer to the mentioned path.

After you open the web interface, in the config screen put the following values:

  • /books for the db path
  • /usr/bin/ebook-convert for the converter path
  • /usr/bin/unrar for the unrar path

calibre-kubernetes's People

Contributors

devtud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.