---
version: "2"
services:
calibre:
image: linuxserver/calibre:7.21.0
container_name: calibre
restart: unless-stopped
environment:
- UMASK_SET # For umask setting of Calibre, default if left unset is 022.
- TZ # Specify a timezone to use e.g. Europe/London.
- PUID # UID of user to take ownership of application/files
- PGID # GID of user to take ownership of application/files
- GUAC_USER # Username for the calibre desktop gui. (Optional)
- GUAC_PASS # Password's md5 hash for the calibre desktop gui. (Optional)
volumes:
- /host/path/to/config:/config # Where calibre should store its database and library
ports:
- 8081:8081/tcp # Calibre webserver gui.
- 8080:8080/tcp # Calibre desktop gui.