Files
s5p/compose.yaml
user de7a5906ae chore: add data volume and cProfile to compose
Mount ~/.cache/s5p as /data for pool state and profile output.
Enable cProfile by default, dumping to /data/s5p.prof.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 17:02:10 +01:00

16 lines
391 B
YAML

services:
s5p:
build:
context: .
dockerfile: Containerfile
container_name: s5p
restart: unless-stopped
ports:
- "127.0.0.1:1080:1080"
volumes:
- ./src:/app/src:ro,Z
- ./config/s5p.yaml:/app/config/s5p.yaml:ro,Z
- ~/.cache/s5p:/data:Z
command: ["-c", "/app/config/s5p.yaml", "--cprofile", "/data/s5p.prof"]
network_mode: host