Calibre/calibre-web tweaks

This commit is contained in:
David Stephens 2024-03-14 00:45:01 +00:00
parent 29a888d958
commit 5742d25f97
5 changed files with 5 additions and 75 deletions

View file

@ -3,8 +3,8 @@ calibre_enabled: false
calibre_available_externally: "false"
# uid / gid
calibre_user_id: "1000"
calibre_group_id: "1000"
calibre_user_id: "0"
calibre_group_id: "0"
# directories
calibre_data_directory: "{{ docker_home }}/calibre"

View file

@ -1,24 +0,0 @@
# Calibre
Homepage: [https://calibre-ebook.com](https://calibre-ebook.com)
Calibre is a powerful and easy to use e-book manager.
## Usage
Set `calibre_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
## Specific Configuration
By default, there is no password set for the main gui. Optional `calibre_password` will allow setting a password for the user `abc`.
Optionally, cli start arguments can be passed to calibre using `calibre_cli_args`.
The Calibre webserver must be turned on in the Calibre manager to make it available at the selected port (8094 by default).
## Ports
```yml
calibre_port: "8093"
calibre_webserver_port: "8094"
```

View file

@ -1,37 +0,0 @@
# "Calibre-web"
Homepage: <https://github.com/janeczku/calibre-web>
Calibre-Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database.
## Usage
Set `calibreweb_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
## Specific Configuration
Requires Calibre ebook management program. Available for download [here](https://calibre-ebook.com/download).
### Admin login
**Default admin login:** Username: admin Password: admin123
### eBook Conversion
If you do not need eBook conversion you can disable it to save resources by setting the `calibreweb_ebook_conversion` variable in `group_vars/all.yml` file to be empty.
- Conversion enabled: `calibreweb_ebook_conversion: "linuxserver/calibre-web:calibre"`
- Conversion disabled: `calibreweb_ebook_conversion: ""`
You can target just Calibre by appending `-t calibre` to your `ansible-playbook` command.
## Use with Calibre
Ansible-NAS add [../calibre](Calibre) long after Calibre-web. To allow Calibre-web direct access to the Calibre database, both applications can share a Docker data directory. To do so, include the following in your inventory `nas.yml`:
```yml
calibreweb_data_directory: "{{ docker_home }}/calibre"
```
In this case, the Calibre Database Directory is `/data/Calibre Library`.

View file

@ -7,6 +7,7 @@
state: directory
with_items:
- "{{ calibreweb_data_directory }}/config"
- "{{ calibreweb_data_directory }}/data"
- name: Calibre-web Docker Container
docker_container:

View file

@ -2,7 +2,7 @@
title: "Calibre-web"
---
Homepage: <https://github.com/janeczku/calibre-web>
Homepage: [https://github.com/janeczku/calibre-web](https://github.com/janeczku/calibre-web)
Calibre-Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database.
@ -12,7 +12,7 @@ Set `calibreweb_enabled: true` in your `inventories/<your_inventory>/nas.yml` fi
## Specific Configuration
Requires Calibre ebook management program. Available for download [here](https://calibre-ebook.com/download).
Requires Calibre to be set up - `calibre_enabled: true`
### Admin login
@ -27,13 +27,3 @@ If you do not need eBook conversion you can disable it to save resources by sett
- Conversion disabled: `calibreweb_ebook_conversion: ""`
You can target just Calibre by appending `-t calibre` to your `ansible-playbook` command.
## Use with Calibre
Ansible-NAS add [../calibre](Calibre) long after Calibre-web. To allow Calibre-web direct access to the Calibre database, both applications can share a Docker data directory. To do so, include the following in your inventory `nas.yml`:
```yml
calibreweb_data_directory: "{{ docker_home }}/calibre"
```
In this case, the Calibre Database Directory is `/data/Calibre Library`.