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
calibrecan be created under DataVol1. -
In "Configure access privileges for users", give
dockuserread/write access. Leave the rest as default. -
In the new
calibreshared folder, create two folders namedbooksandconfig. -
Get the UID/GID of
dockuserwithid dockuserin ssh. -
Download our Calibre seed library to your computer at:
-
Copy the contents of
calibre-seed/booksfolder to thebooksfolder created earlier. By navigating into the books folder, the followingrsynccommand will copy the folder contents to the right folder:rsync -ahvz . <user>@<hostname>:/share/calibre/books/ -
Set permissions for the folder to
dockuserwith: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-webclick 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,
PUIDandPGID, filling in the values ofdockuserfrom earlier. -
Select
Shared Folders.-
Click the "Add" button above "Volume from host" (or "Bind Mount Host Path") and in the first column, choose the
configfolder created earlier. Under theMount Pointcolumn enter/configand make sure the "Write" (or RW) checkbox is selected. -
Click the "Add" button above "Volume from host" and in the first column, choose the
booksfolder created earlier. Under theMount Pointcolumn enter/booksand 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:
adminPassword:
admin123 -
In the Database Configuration dialog box, for the database location type in
/booksor navigate to thebooksfolder.
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!