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.
27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
YAML
services:
|
|
calibre-web-automated-book-downloader-tor:
|
|
image: ghcr.io/calibrain/calibre-web-automated-book-downloader-tor:latest
|
|
environment:
|
|
FLASK_PORT: 8084
|
|
LOG_LEVEL: info
|
|
BOOK_LANGUAGE: en
|
|
USE_BOOK_TITLE: true
|
|
TZ: America/New_York
|
|
USING_TOR: true
|
|
# CWA_DB_PATH: /auth/app.db # Uncomment to enable authentication
|
|
# SESSION_COOKIE_SECURE: 'true' # Set to 'true' if accessing ONLY via HTTPS
|
|
# DEBUG: 'true' # Enable debug mode (debug button, verbose logging)
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
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
|