30 lines
762 B
TOML
30 lines
762 B
TOML
|
|
profile = "release"
|
||
|
|
port = 10801
|
||
|
|
verbosity = 1
|
||
|
|
pretty_logs = true
|
||
|
|
colorful_logs = false
|
||
|
|
client_dir = "/app/client"
|
||
|
|
config_dir = "/config"
|
||
|
|
allowed_origins = []
|
||
|
|
pdfium_path = "/opt/pdfium/lib/libpdfium.so"
|
||
|
|
enable_swagger = false
|
||
|
|
enable_koreader_sync = false
|
||
|
|
enable_opds_progression = false
|
||
|
|
password_hash_cost = 12
|
||
|
|
session_ttl = 259200
|
||
|
|
access_token_ttl = 86400
|
||
|
|
refresh_token_ttl = 2592000
|
||
|
|
expired_session_cleanup_interval = 86400
|
||
|
|
max_scanner_concurrency = 200
|
||
|
|
max_thumbnail_concurrency = 10
|
||
|
|
max_image_upload_size = 20971520
|
||
|
|
enable_upload = false
|
||
|
|
max_file_upload_size = 20971520
|
||
|
|
pdf_render_dpi = 150
|
||
|
|
pdf_max_dimension = 1200
|
||
|
|
pdf_render_format = "webp"
|
||
|
|
pdf_cache_pages = true
|
||
|
|
pdf_prerender_range = 5
|
||
|
|
pdf_high_quality = true
|
||
|
|
book_completion_dedup_timeout_secs = 86400
|