Bridge networking can't reach the host's loopback. Switch to network_mode: host so the container shares the host network stack and can reach the SOCKS5 proxy at 127.0.0.1:1080. Revert proxy address back to 127.0.0.1. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
376 B
YAML
15 lines
376 B
YAML
services:
|
|
derp:
|
|
build:
|
|
context: .
|
|
dockerfile: Containerfile
|
|
container_name: derp
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./src:/app/src:ro,Z
|
|
- ./plugins:/app/plugins:ro,Z
|
|
- ./config/derp.toml:/app/config/derp.toml:ro,Z
|
|
- ./data:/app/data:Z
|
|
command: ["--verbose", "--cprofile", "/app/data/derp.prof"]
|