Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ services:
- /tmp/data/calibre-web/ingest:/cwa-book-ingest
# This is the location of CWA's app.db, which contains authentication
# details. Comment out to disable authentication
#- /cwa/config/path/app.db:/auth/app.db:ro
#- /cwa/config/path/app.db:/auth:ro
Copy link

Copilot AI Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The volume mount path change is inconsistent with the CWA_DB_PATH environment variable. Line 17 sets CWA_DB_PATH: /auth/app.db, but this change mounts the database file to /auth instead of /auth/app.db. This will cause the error "CWA_DB_PATH is set to /auth/app.db but this is not a valid path" because the file won't be found at the expected location.

Either:

  1. Keep the volume mount as /cwa/config/path/app.db:/auth/app.db:ro (revert this change), OR
  2. Update line 17 to CWA_DB_PATH: /auth to match this volume mount change
Suggested change
#- /cwa/config/path/app.db:/auth:ro
#- /cwa/config/path.app.db:/auth.app.db:ro

Copilot uses AI. Check for mistakes.