Created
July 8, 2025 16:40
-
-
Save henior2/3c00af63db95ea9e4a70d1551cc38cf9 to your computer and use it in GitHub Desktop.
rathole docker compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
also check out their official systemd unit files!