https://github.com/tonutils/reverse-proxy as a Docker image
2.6K
tonutils/reverse-proxy as a Docker image
linux/amd64 and linux/arm64 images are available.
First, you have to generate a config.json file using this command:
docker run --entrypoint "/gen_config.sh" m4l3vich/ton-reverse-proxy
At the end it should output the freshly generated config, save it in a config.json file somewhere.
Then you can run the container:
docker run -p10391:10391/udp -v ./config.json:/app/config.json m4l3vich/ton-reverse-proxy --domain YOUR-TON-DOMAIN.ton
Replace 10391 with your port from the config file. Or replace -p10391:10391 with --network=host if you are not familiar with Docker networking.
If you have any problems (like lite server error: code 651), you can try looking here:
Content type
Image
Digest
sha256:4d4ef79b8…
Size
8 MB
Last updated
12 months ago
docker pull m4l3vich/ton-reverse-proxy