update formatting, add lsio wheel index

This commit is contained in:
aptalca 2021-05-17 16:13:47 -04:00
parent df638a1e47
commit 9e734295ec
7 changed files with 233 additions and 231 deletions

View File

@ -44,7 +44,7 @@ RUN \
cd /app/calibre-web && \ cd /app/calibre-web && \
pip3 install --no-cache-dir -U \ pip3 install --no-cache-dir -U \
pip && \ pip && \
pip install --no-cache-dir -U -r \ pip install --no-cache-dir -U --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \
requirements.txt -r \ requirements.txt -r \
optional-requirements.txt && \ optional-requirements.txt && \
echo "***install kepubify" && \ echo "***install kepubify" && \

View File

@ -51,7 +51,7 @@ RUN \
cd /app/calibre-web && \ cd /app/calibre-web && \
pip3 install --no-cache-dir -U \ pip3 install --no-cache-dir -U \
pip && \ pip && \
pip install --no-cache-dir -U -r \ pip install --no-cache-dir -U --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \
requirements.txt -r \ requirements.txt -r \
optional-requirements.txt && \ optional-requirements.txt && \
echo "***install kepubify" && \ echo "***install kepubify" && \

View File

@ -53,7 +53,7 @@ RUN \
cd /app/calibre-web && \ cd /app/calibre-web && \
pip3 install --no-cache-dir -U \ pip3 install --no-cache-dir -U \
pip && \ pip && \
pip install --no-cache-dir -U -r \ pip install --no-cache-dir -U --find-links https://wheel-index.linuxserver.io/ubuntu/ -r \
requirements.txt -r \ requirements.txt -r \
optional-requirements.txt && \ optional-requirements.txt && \
echo "***install kepubify" && \ echo "***install kepubify" && \

View File

@ -118,8 +118,8 @@ services:
- TZ=Europe/London - TZ=Europe/London
- DOCKER_MODS=linuxserver/calibre-web:calibre - DOCKER_MODS=linuxserver/calibre-web:calibre
volumes: volumes:
- <path to data>:/config - /path/to/data:/config
- <path to calibre library>:/books - /path/to/calibre/library:/books
ports: ports:
- 8083:8083 - 8083:8083
restart: unless-stopped restart: unless-stopped
@ -135,8 +135,8 @@ docker run -d \
-e TZ=Europe/London \ -e TZ=Europe/London \
-e DOCKER_MODS=linuxserver/calibre-web:calibre \ -e DOCKER_MODS=linuxserver/calibre-web:calibre \
-p 8083:8083 \ -p 8083:8083 \
-v <path to data>:/config \ -v /path/to/data:/config \
-v <path to calibre library>:/books \ -v /path/to/calibre/library:/books \
--restart unless-stopped \ --restart unless-stopped \
ghcr.io/linuxserver/calibre-web ghcr.io/linuxserver/calibre-web
``` ```
@ -153,7 +153,7 @@ Container images are configured using parameters passed at runtime (such as thos
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London. | | `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
| `-e DOCKER_MODS=linuxserver/calibre-web:calibre` | #optional & **x86-64 only** Adds the ability to perform ebook conversion | | `-e DOCKER_MODS=linuxserver/calibre-web:calibre` | #optional & **x86-64 only** Adds the ability to perform ebook conversion |
| `-v /config` | Where calibre-web stores the internal database and config. | | `-v /config` | Where calibre-web stores the internal database and config. |
| `-v /books` | Where your preexisting calibre database is locate. | | `-v /books` | Where your preexisting calibre database is located. |
## Environment variables from files (Docker secrets) ## Environment variables from files (Docker secrets)
@ -264,6 +264,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **17.05.21:** - Add linuxserver wheel index.
* **10.02.21:** - Add libxrandr2 * **10.02.21:** - Add libxrandr2
* **25.01.21:** - Add nightly tag * **25.01.21:** - Add nightly tag
* **19.01.21:** - Add python3-pkg-resources * **19.01.21:** - Add python3-pkg-resources

View File

@ -31,8 +31,8 @@ param_env_vars:
- { env_var: "DOCKER_MODS", env_value: "linuxserver/calibre-web:calibre", desc: "#optional & **x86-64 only** Adds the ability to perform ebook conversion"} - { env_var: "DOCKER_MODS", env_value: "linuxserver/calibre-web:calibre", desc: "#optional & **x86-64 only** Adds the ability to perform ebook conversion"}
param_usage_include_vols: true param_usage_include_vols: true
param_volumes: param_volumes:
- { vol_path: "/config", vol_host_path: "<path to data>", desc: "Where calibre-web stores the internal database and config." } - { vol_path: "/config", vol_host_path: "/path/to/data", desc: "Where calibre-web stores the internal database and config." }
- { vol_path: "/books", vol_host_path: "<path to calibre library>", desc: "Where your preexisting calibre database is locate." } - { vol_path: "/books", vol_host_path: "/path/to/calibre/library", desc: "Where your preexisting calibre database is located." }
param_usage_include_ports: true param_usage_include_ports: true
param_ports: param_ports:
- { external_port: "8083", internal_port: "8083", port_desc: "WebUI" } - { external_port: "8083", internal_port: "8083", port_desc: "WebUI" }
@ -77,6 +77,7 @@ app_setup_block: |
# changelog # changelog
changelogs: changelogs:
- { date: "17.05.21:", desc: "Add linuxserver wheel index."}
- { date: "10.02.21:", desc: "Add libxrandr2"} - { date: "10.02.21:", desc: "Add libxrandr2"}
- { date: "25.01.21:", desc: "Add nightly tag"} - { date: "25.01.21:", desc: "Add nightly tag"}
- { date: "19.01.21:", desc: "Add python3-pkg-resources"} - { date: "19.01.21:", desc: "Add python3-pkg-resources"}