mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-04-20 05:51:21 -04:00
Hey, made the tweaks we discussed, plus a couple related fixes :) - Removed APP_ENV entirely. All dev-specific functionality is enabled via `DEBUG: true` env var - Set secure cookie handling to false by default, added to the readme to enable if exclusively using HTTPS connection - Fixed healthcheck potentially not working with auth enabled - Removed APP_ENV from docker compose files and made sure app.db lines are included in all versions. APP_ENV in people's existing composes should get ignored entirely and will be put on the default env, so no issues when updating.
33 lines
1.5 KiB
YAML
33 lines
1.5 KiB
YAML
services:
|
|
calibre-web-automated-book-downloader:
|
|
image: ghcr.io/calibrain/calibre-web-automated-book-downloader:latest
|
|
# Uncomment to build the image from the Dockerfile for local testing changes.
|
|
# Remember to comment out the image line above.
|
|
#build: .
|
|
container_name: calibre-web-automated-book-downloader
|
|
environment:
|
|
FLASK_PORT: 8084
|
|
LOG_LEVEL: info
|
|
BOOK_LANGUAGE: en
|
|
USE_BOOK_TITLE: true
|
|
TZ: America/New_York
|
|
UID: 1000
|
|
GID: 100
|
|
# CWA_DB_PATH: /auth/app.db # Uncomment to enable authentication (also uncomment volume below)
|
|
# CALIBRE_WEB_URL: http://localhost:8080 # Uncomment and add your custom library URL to enable "Go To Library" button in the Web UI
|
|
# SESSION_COOKIE_SECURE: 'true' # Set to 'true' if accessing ONLY via HTTPS
|
|
# DEBUG: 'true' # Enable debug mode (debug button, verbose logging)
|
|
# Queue management settings
|
|
MAX_CONCURRENT_DOWNLOADS: 3
|
|
DOWNLOAD_PROGRESS_UPDATE_INTERVAL: 5
|
|
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
|
|
# This is the location of CWA's app.db, which contains authentication
|
|
# details. Uncomment to enable authentication (also uncomment CWA_DB_PATH above)
|
|
#- /cwa/config/path/app.db:/auth/app.db:ro
|