docs: document data volume mount and container profiling
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -84,7 +84,8 @@ make down # stop and remove container
|
||||
```
|
||||
|
||||
Source (`./src`) and config (`./config/s5p.yaml`) are mounted read-only
|
||||
into the container. Edit locally, restart to pick up changes.
|
||||
into the container. `~/.cache/s5p` is mounted as `/data` for pool state
|
||||
and profile output. Edit locally, restart to pick up changes.
|
||||
|
||||
## Proxy Pool
|
||||
|
||||
@@ -281,6 +282,10 @@ s5p --cprofile -c config/s5p.yaml
|
||||
# Custom output file
|
||||
s5p --cprofile output.prof -c config/s5p.yaml
|
||||
|
||||
# Container: uncomment the command line in compose.yaml
|
||||
# command: ["-c", "/app/config/s5p.yaml", "--cprofile", "/data/s5p.prof"]
|
||||
# Profile output persists at ~/.cache/s5p/s5p.prof on the host.
|
||||
|
||||
# Analyze after stopping
|
||||
python -m pstats s5p.prof
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user