fix: resolve NameError on startup, move analyses into recordings, remap port to 8050

- web.py: Python class bodies can't close over a name they also assign;
  use a temporary alias _analyses_dir to break the self-reference
- docker-compose.yml: mount ./recordings/analyses:/recordings/analyses
  instead of a separate ./analyses volume so cache lives inside recordings;
  remove --analyses-dir flag (default now resolves correctly); remap
  external port 8080→8050 for reverse proxy
- README.md / CLAUDE.md: update Docker port references to 8050

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-03 08:46:49 +02:00
parent 9ba084107b
commit 77e7e4ca9e
4 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -1656,9 +1656,10 @@ def main():
prune_orphan_analyses(analyses_dir, rec_dir)
_analyses_dir = analyses_dir # class body can't close over a name it also assigns
class Handler(_Handler):
recordings_dir = str(rec_dir)
analyses_dir = str(analyses_dir)
analyses_dir = str(_analyses_dir)
threshold = args.threshold
min_gap = args.min_gap