Skip to content

Command Line Interface

Ozzie Isaacs edited this page Jan 10, 2020 · 14 revisions

Command line options

Starting the script with -h lists all supported command line options.
Currently supported are several options, which are useful for running multiple instances of Calibre-Web, and other administrative tasks.

-p path allows to specify the location of the settings database
-g path allows to specify the location of the google-drive database
-c path allows to specify the location of SSL certfile, works only in combination with keyfile
-k path allows to specify the location of SSL keyfile, works only in combination with certfile
-v shows the current version info and exits
-i ip-address limits the listening address of the server to the given ip-address
-s user:password tbd

Environmental variables

Calibre-Web supports the following Environmental variables.

CALIBRE_DBPATH allows to set the home directory for calibre-web's settings files (app.db. calibre-web.log, gdrive.db)
CALIBRE_PORT allows to set the default listening port during creation of the settings database. Afterwards the port which is configured in the UI, is used.