Files
opt/compose.socks.yaml

14 lines
310 B
YAML

services:
socks:
container_name: socks
image: serjs/go-socks5-proxy:v0.0.4
ports:
- 1081:1080
network_mode: service:surfshark
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 1080 || exit 1"]
interval: 30s
timeout: 5s
retries: 3