mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-02-20 07:46:18 -05:00
The Calibre dependency was due to the script testing for validity of the downloaded file, as often they would be corrupted from aa. But CWA is already doing that, so we are just having redundant code here. For the cloudflarebypasser, I basically run my own version now, instead of depending on an external library, this way we have better control for debugging and on the docker image. Fixes #18, #33, #27, #48, #65, #78, #86, #88, #89 --------- Co-authored-by: mik593 <91991279+mik593@users.noreply.github.com>
18 lines
552 B
YAML
18 lines
552 B
YAML
# If you change the FLASK_PORT, do not forget to change it in ports and healthcheck as well.
|
|
services:
|
|
calibre-web-automated-book-downloader:
|
|
build :
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
environment:
|
|
FLASK_PORT: 8084
|
|
FLASK_DEBUG: false
|
|
BOOK_LANGUAGE: en
|
|
ports:
|
|
- 8084:8084
|
|
restart: unless-stopped
|
|
volumes:
|
|
# This is where the books will be downloaded to, usually it would be
|
|
# the same as whatever you gave in "calibre-web-automated"
|
|
- /tmp/data/calibre-web/ingest:/cwa-book-ingest
|