Creates multiple socat pipes based on env-var names that start with 'SOCAT_ARGS_' within a Cloudflare WARP connected session.
Better docs someday...
Env-vars with prefix SOCAT_ARGS_
are sorted and used as socat
command line inputs.
services:
my-cfwarp-socat:
image: "threatpatrols/cfwarp-socat"
environment:
SOCAT_ARGS_02: "TCP4-LISTEN:2222,reuseaddr,fork TCP4:127.0.0.1:22"
SOCAT_ARGS_01: "UNIX-LISTEN:/run/docker.sock,reuseaddr,fork TCP4:127.0.0.1:80"
cap_add:
- NET_ADMIN
volumes:
- cloudflarewarp_varlib:/var/lib/cloudflare-warp