docker-bits/lsio/calibre/docker-run.sh
2021-04-16 00:55:00 +00:00

19 lines
946 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Calibre is a powerful and easy to use e-book manager. Users say its
# outstanding and a must-have. Itll allow you to do nearly everything and it
# takes things a step beyond normal e-book software. Its also completely free
# and open source and great for both casual users and computer experts.
source ./.env
docker run -d \
--name=calibre \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
-e PASSWORD= `# optional` `# Optionally set a password for the gui.` \
-e CLI_ARGS= `# optional` `# Optionally pass cli start arguments to calibre.` \
-p 8080:8080 `# Calibre desktop gui.` \
-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