Installing Calibre-Web as a Docker Container
Create Calibre-Web Data Folders
-
Open File Station in QTS.
-
Create a Shared Folder. For Calibre, a folder named
calibre
can be created under DataVol1. -
In "Configure access privileges for users", give
dockuser
read/write access. Leave the rest as default. -
In the new
calibre
shared folder, create two folders namedbooks
andconfig
. -
Get the UID/GID of
dockuser
withid dockuser
in ssh. -
Download our Calibre seed library to your computer at:
-
Copy the contents of
calibre-seed/books
folder to thebooks
folder created earlier. By navigating into the books folder, the followingrsync
command will copy the folder contents to the right folder:rsync -ahvz . <user>@<hostname>:/share/calibre/books/
-
Set permissions for the folder to
dockuser
with:sudo chown -R <UID>:<GID> /share/calibre/books
Create Calibre-Web Container
-
Open Container Station and click on Create. In the search box type in
calibre
. When you see the Docker imagelinuxserver/calibre-web
click on the install button. -
Select the latest image, and click on install. Accept the disclaimer.
-
In the "Create Container" dialog box, click on "Advanced Settings".
-
In Environment, create two fields,
PUID
andPGID
, filling in the values ofdockuser
from earlier. -
Select
Shared Folders
.-
Click the "Add" button above "Volume from host" (or "Bind Mount Host Path") and in the first column, choose the
config
folder created earlier. Under theMount Point
column enter/config
and make sure the "Write" (or RW) checkbox is selected. -
Click the "Add" button above "Volume from host" and in the first column, choose the
books
folder created earlier. Under theMount Point
column enter/books
and make sure the "Write" (or RW) checkbox is selected.
-
-
Click on Create when done. Confirm the information is correct in the "Summary" dialog box, and click "OK".
First-Time Configuration
-
In Container Station's overview tab, start
calibre-web-1
(the default name given unless modified) if not started. -
Click on the blue hyperlink to bring up the container management box.
-
Click on the URL. It will open Calibre-Web's first time setup page.
-
The default login credentials for the admin user are:
Username:
admin
Password:
admin123
-
In the Database Configuration dialog box, for the database location type in
/books
or navigate to thebooks
folder.
Once completed, you should be seeing books immediately available for reading. Remember to change the admin password to something stronger!
Congratulations! You now have a working library!