version: '3.9' services: # test: # image: curlimages/curl # network_mode: host # depends_on: # - warp-socks: {condition: service_healthy} # command: curl --proxy socks5h://127.0.0.1:9091 https://www.cloudflare.com/cdn-cgi/trace warp-socks: image: monius/docker-warp-socks:latest privileged: true ports: - "9091:9091" # - target: 9091 # published: 9091 # mode: host cap_add: - NET_ADMIN - SYS_ADMIN sysctls: net.ipv6.conf.all.disable_ipv6: 0 net.ipv4.conf.all.src_valid_mark: 1 healthcheck: test: ["CMD", "curl", "-f", "https://www.cloudflare.com/cdn-cgi/trace"] interval: 30s timeout: 10s retries: 5