THIS IMAGE IS DEPRECATED. PLEASE USE THE NEW IMAGE AT linuxserver/calibre.
In the new image, you can select the folder that contains your metadata.db as the library location.
Replace the variable "/path/to/config" with your choice of folder on your system. That is where the config and the library files will reside, and they will survive an update, reinstallation, etc. of the container.
Change "XXXX" to a port of your choice, it will be the port for the main Calibre GUI
Change "YYYY" to a port of your choice, it will be the port for the Calibre webserver
If you would like to have the latest updates, change the EDGE variable to "1", and the container will update calibre to the latest version every time it is restarted
If you'd like to change the resolution for the GUI, you can modify the WIDTH and HEIGHT variables
IMPORTANT: On first start, select "/config" as the library location in the Calibre wizard
Calibre webserver can be enabled from the calibre gui under Preferences/Sharing over the net. Port has to be set to 8081
If you would like to change the library location you need to do a couple of things:
First add a new mount point for the library location in the docker run command. Example: -v /path/to/library:/library:rw
Then add an environment variable (LIBRARYINTERNALPATH) to specify the internal library location for the webserver. Example: -e LIBRARYINTERNALPATH="/library"
When you fire up calibre the first time select your library location. Example: /library
2017-06-24: LIBRARYINTERNALPATH and URLPREFIX variables are deprecated. They were required for the calibre webserver. The new webserver should be enabled from the calibre gui under Preferences/Sharing over the net. Port has to be set to 8081
2016-09-16: Remove X1-lock if exists, which prevents start up following an unclean shutdown
2016-09-15: Updated base to x11rdp1.3, which now supports clipboard through the left hand side menu (ctrl+alt+shift) - calibre updated to 2.67