Skip to content

Instantly share code, notes, and snippets.

@henior2
Created July 8, 2025 16:40
Show Gist options
  • Select an option

  • Save henior2/3c00af63db95ea9e4a70d1551cc38cf9 to your computer and use it in GitHub Desktop.

Select an option

Save henior2/3c00af63db95ea9e4a70d1551cc38cf9 to your computer and use it in GitHub Desktop.
rathole docker compose
services:
rathole:
image: rapiz1/rathole
command: --server /app/config.toml # replace --server with --client to run a client
volumes:
- ./config.toml:/app/config.toml # replace ./config.toml with your config location
ports: # make sure to bind your tunneled ports!
# - "2000:2000" # example port
# - "2001:2001/udp" # example port
- "2333:2333" # rathole server port
stdin_open: true
tty: true
restart: unless-stopped
@henior2
Copy link
Author

henior2 commented Jul 8, 2025

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