2eb032ecd4f6963d73329a0b2f2d3a0b19a35f94
The backend container mounted fail2ban-dev-config as an anonymous named volume, while the fail2ban container used a bind-mount of the same local directory. The backend's /config was therefore always empty, causing sqlite3.OperationalError when ban_service attempted to open the path returned by 'get dbfile' (/config/fail2ban/fail2ban.sqlite3). Change the backend volume declaration from the named volume reference to the same bind-mount used by fail2ban: fail2ban-dev-config:/config:ro → ./fail2ban-dev-config:/config:ro Also removes the now-unused 'fail2ban-dev-config' named-volume entry. Affected endpoints (all returned HTTP 500, now return HTTP 200): GET /api/dashboard/bans GET /api/dashboard/accesses GET /api/dashboard/bans/by-country
Description
No description provided
Languages
Python
72.9%
TypeScript
19.4%
Markdown
4.2%
Roff
1.5%
Shell
1.2%
Other
0.8%