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:
+3
-3
@@ -16,8 +16,8 @@ services:
|
||||
build: .
|
||||
volumes:
|
||||
- ./recordings:/recordings:ro
|
||||
- ./analyses:/analyses
|
||||
- ./recordings/analyses:/recordings/analyses
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8050:8080"
|
||||
restart: unless-stopped
|
||||
command: ["python", "web.py", "--dir", "/recordings", "--analyses-dir", "/analyses"]
|
||||
command: ["python", "web.py", "--dir", "/recordings"]
|
||||
|
||||
Reference in New Issue
Block a user