# Local development - builds from source with debug enabled services: calibre-web-automated-book-downloader-dev: extends: file: ./docker-compose.yml service: calibre-web-automated-book-downloader build: context: . dockerfile: Dockerfile target: cwa-bd environment: DEBUG: true volumes: - ./.local/config:/config - ./.local/ingest:/cwa-book-ingest - ./.local/log:/var/log/cwa-book-downloader - ./.local/tmp:/tmp/cwa-book-downloader # Mount source code for development (no rebuild needed for Python code changes) - ./cwa_book_downloader:/app/cwa_book_downloader:ro # Download client volume - required for Prowlarr/torrent/usenet integration # IMPORTANT: Both sides of this mount must match your download client's volume mount exactly. # Example: if qBittorrent has "/mnt/storage/downloads:/data/torrents", use the same here: # - /mnt/storage/downloads:/data/torrents