1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-01-31 11:19:14 +00:00

Update environment variables

Ozzie Isaacs 2022-03-16 17:01:19 +01:00
parent eed31f88b0
commit b274705bcd

@ -11,7 +11,7 @@ Currently several options are supported, which are useful for running multiple i
`-i ip-address` limits the listening address of the server to the given ip-address\ `-i ip-address` limits the listening address of the server to the given ip-address\
`-s user:password` changes the password of user to password and ends Calibre-Web\ `-s user:password` changes the password of user to password and ends Calibre-Web\
`-f` activates the filepicker for the Calibre Database in the unconfigured/inital mode *)\ `-f` activates the filepicker for the Calibre Database in the unconfigured/inital mode *)\
`-l` Allows loading covers from localhost\ `-l` Allows loading covers from localhost and local network\
`-d` Dry run of updater to check file permissions in advance, exists Calibre-Web afterwards\ `-d` Dry run of updater to check file permissions in advance, exists Calibre-Web afterwards\
`-r` Enable public database reconnect route under `/reconnect` `-r` Enable public database reconnect route under `/reconnect`
@ -25,6 +25,8 @@ 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_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. `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.
`CALIBRE_RECONNECT` enables the reconnect endpoint\
`CALIBRE_LOCALHOST` allows loading covers from localhost and local network\
`CALIBRE_UNIX_SOCKET` allows to run Calibre-Web on a specified unix-socket, needs gevent `CALIBRE_UNIX_SOCKET` allows to run Calibre-Web on a specified unix-socket, needs gevent
`FLASK_DEBUG` redirects log output to console and sets log level to DEBUG for easier debugging. Creates hashes for static files to make the browser aware of changes `FLASK_DEBUG` redirects log output to console and sets log level to DEBUG for easier debugging. Creates hashes for static files to make the browser aware of changes