#+title: Calibre Setup
#+HTML_HEAD:
#+HTML_HEAD:
#+OPTIONS: H:6
* links
- [[./toc.org][TOC - Home System]]
* important info
** identification
*** raspberry-pi
| user | password | application |
|--------------+----------------+---------------------------------|
| librarian | 2reishit2ara | calibre storage and docker user |
| ronny | 2reishit2ara | docker managers |
*** calibre.ronnyabraham.com
| username | password | email | role |
|---------------+----------------+-------------------------+-------|
| calibre-admin | chukatHat6rah! | ronny.abraham@ymail.com | admin |
| ronnyabraham | chukatHat6rah! | this.ronny@gmail.com | user |
*** calibre-gaming.ronnyabraham.com
| username | password | email | role |
|--------------+----------------+-------------------------+-------|
| ronnyabraham | chukatHat6rah! | this.ronny@gmail.com | user |
| gaming-admin | chukatHat6rah! | ronny.abraham@ymail.com | admin |
** locations
*** directory structure
#+begin_src text
/home/librarian/calibre-library
├── gaming
└── public
/mnt/storage/docker/compose/calibre
└── docker-compose.yml
/srv/calibre
├── gaming
└── public
#+end_src
| purpose | mount |
|----------------------+---------------------------------|
| docker compose files | /mnt/docker/compose/calibre |
| book databases | /home/librarian/calibre-library |
| configuration | /srv/calibre |
| nginx configs | /etc/nginx/sites-available |
* docker
** docker-compose.yml
#+INCLUDE: "docker.org::#docker-calibre" :only-contents t
* nginx
*** public server: 'calibre-public'
#+INCLUDE: "nginx.org::#calibre-public" :only-contents t
*** gaming server: 'calibre-gaming'
#+INCLUDE: "nginx.org::#calibre-gaming" :only-contents t