Skip to content

Add healthcheck and switch to gost - #6

Open
BaziForYou wants to merge 5 commits into
seiry:mainfrom
BaziForYou:main
Open

Add healthcheck and switch to gost#6
BaziForYou wants to merge 5 commits into
seiry:mainfrom
BaziForYou:main

Conversation

@BaziForYou

@BaziForYou BaziForYou commented Jun 22, 2026

Copy link
Copy Markdown
  • Maintained curl for healthchecks: Kept curl in the Dockerfile to ensure the container accurately verifies Cloudflare WARP routing status.
  • Swapped socat for gost (latest v3): Replaced socat with the latest GOST v3 to multiplex port 40000. This delivers better performance and acts as a universal translator, seamlessly auto-detecting and routing HTTP, HTTPS (CONNECT), SOCKS4, and SOCKS5 proxy traffic on a single exposed port.
  • and Minor cleanups

keep curl to add healthcheck logic
and do little cleanup
Switching to `gost` enables the exposed port 40000 to accept both HTTP and SOCKS5 proxy requests, offering greater flexibility.
@BaziForYou BaziForYou changed the title Add healthcheck and little cleanup Add healthcheck and switch to gost Jun 23, 2026
- Memory Optimization: Sets GOMEMLIMIT and GOGC to heavily restrict the `gost` multiplexer's memory footprint. This drops active memory consumption from 200~500 MB to 100~200 MB.
- Log Silencing: Hides normal `warp-cli` command outputs and filters out persistent, non-fatal DBus errors from `warp-svc`. Sets `gost` to only log warnings.
- Signal Handling: Traps SIGTERM and SIGINT to gracefully kill `warp-svc` when the Docker container stops, rather than relying on a hard `exec` termination.
@BaziForYou

BaziForYou commented Jul 30, 2026

Copy link
Copy Markdown
Author
  • Memory Optimization: Sets GOMEMLIMIT and GOGC to heavily restrict the gost multiplexer's memory footprint. This drops active memory consumption from 200 - 500 MB to 100 - 200 MB.
  • Log Silencing: Hides normal warp-cli command outputs and filters out persistent, non-fatal DBus errors from warp-svc. Sets gost to only log warnings.
  • Signal Handling: Traps SIGTERM and SIGINT to gracefully kill warp-svc when the Docker container stops, rather than relying on a hard exec termination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant