rapiz1 / rathole

A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.
Apache License 2.0
9.44k stars 475 forks source link

Create docker-compose.yml #251

Open williamhatcher opened 1 year ago

williamhatcher commented 1 year ago

Here's a compose file you can link to in your Docker Hub readme.

I had to use network_mode host otherwise I couldn't work on port 80 😦

Skaronator commented 1 year ago

You could try NET_ADMIN capability instead of using host port 80.

cap_add:
- NET_ADMIN

I'd also like to see a dummy container (nginx) in the docker compose as an example to expose a container. Saidly its not that simple since we don't have #218