docker-bits/lsio/calibre-web/docker-run.sh

20 lines
1.2 KiB
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Calibre-web](https://github.com/janeczku/calibre-web) is a web app providing
# a clean interface for browsing, reading and downloading eBooks using an
# existing Calibre database. It is also possible to integrate google drive and
# edit metadata and your calibre library through the app itself. This software
# is a fork of library and licensed under the GPL v3 License.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=calibre-web \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2023-02-26 14:51:38 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
2022-07-16 01:02:10 +00:00
-e DOCKER_MODS=linuxserver/mods:universal-calibre `# optional` `# #optional & **x86-64 only** Adds the ability to perform ebook conversion` \
2021-06-25 00:50:31 +00:00
-e OAUTHLIB_RELAX_TOKEN_SCOPE=1 `# optional` `# Optionally set this to allow Google OAUTH to work` \
2021-04-10 10:16:29 +00:00
-p 8083:8083 `# WebUI` \
-v ${BASEDIR:-/volume1/docker}/calibre-web/config:/config `# Where calibre-web stores the internal database and config.` \
2021-05-18 00:58:01 +00:00
-v ${BASEDIR:-/volume1/docker}/calibre-web/books:/books `# Where your preexisting calibre database is located.` \
2021-04-10 10:16:29 +00:00
--restart unless-stopped \
ghcr.io/linuxserver/calibre-web