based on https://github.com/clue/reactphp-socks
services:
# socks proxy on 127.0.0.1:1080 using separate network
proxy:
image: proxy
container_name: ddev-typo3v10-forensics-proxy
environment:
APP_PROXY: >
[proxy]
listen=0.0.0.0:1080
[proxy.targets]
127.0.0.1=web
ports:
- "1080:1080"
networks:
- t3-forensics
proxylisten=host:porthost and port that shall listen for SOCKS connections (e.g.listen=127.0.0.1:1080)
proxy.targetssource-host:target-hostsubstitions for requested data on https or http ports (e.g.127.0.0.1=webmappinglocalhosttowebservice/host inside Docker scope)
curl --socks5 127.0.0.1:1080 https://xn--hofhckerei-t5a.de/