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

21 lines
1.0 KiB
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Calibre](https://calibre-ebook.com/) is a powerful and easy to use e-book
2023-04-08 00:50:33 +00:00
# manager. Users say it's outstanding and a must-have. It'll allow you to do
2021-04-21 00:55:42 +00:00
# nearly everything and it takes things a step beyond normal e-book software.
2023-04-08 00:50:33 +00:00
# It's also completely free and open source and great for both casual users and
2021-04-21 00:55:42 +00:00
# computer experts.
2021-04-10 10:16:29 +00:00
2023-04-26 00:53:18 +00:00
. ./.env
2021-04-10 10:16:29 +00:00
docker run -d \
--name=calibre \
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).` \
2021-04-16 00:55:00 +00:00
-e PASSWORD= `# optional` `# Optionally set a password for the gui.` \
2021-04-10 10:16:29 +00:00
-e CLI_ARGS= `# optional` `# Optionally pass cli start arguments to calibre.` \
-p 8080:8080 `# Calibre desktop gui.` \
2023-04-08 00:50:33 +00:00
-p 8181:8181 `# Calibre desktop gui HTTPS.` \
2021-04-10 10:16:29 +00:00
-p 8081:8081 `# Calibre webserver gui.` \
-v ${BASEDIR:-/volume1/docker}/calibre/config:/config `# Where calibre should store its database and library.` \
--restart unless-stopped \
ghcr.io/linuxserver/calibre