mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-09-24 22:05:20 +01:00
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
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:
|
|
image: ghcr.io/calibrain/calibre-web-automated-book-downloader:latest
|
|
environment:
|
|
FLASK_PORT: 8084
|
|
FLASK_DEBUG: false
|
|
CLOUDFLARE_PROXY_URL: http://cloudflarebypassforscraping:8000
|
|
INGEST_DIR: /cwa-book-ingest
|
|
BOOK_LANGUAGE: en
|
|
ports:
|
|
- 8084:8084
|
|
# Uncomment the following lines if you want to enable healthcheck
|
|
#healthcheck:
|
|
# test: ["CMD", "curl", "-f", "http://localhost:8084/request/api/status"]
|
|
# interval: 30s
|
|
# timeout: 30s
|
|
# retries: 3
|
|
# start_period: 5s
|
|
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:${INGEST_DIR:-/cwa-book-ingest}
|
|
|
|
cloudflarebypassforscraping:
|
|
image: ghcr.io/sarperavci/cloudflarebypassforscraping:latest
|
|
restart: unless-stopped
|