This project gives a way to run Throttle locally on almost every platform without efforts.
It allows to load application within Docker locally and makes it visible globally within Ngrok.
- Install Docker Engine and Compose plugin for your host machine. You can just install the newest version of Docker Desktop, it includes both of them. After installing, run it
- Clone this repository or download sources
- Register Ngrok account and receive auth token from Dashboard > Get Started > Your Authtoken menu.
- Open file
docker/ngrok/ngrok.ymland write received token toagent.authtokenfield's value (just replaceyour_tokenwith your own) - Open Terminal and run command
docker compose up -d. Wait few minutes when both dependencies will be installed. - Open in the browser url
http://localhost:8001and make sure you are seeing the main page of Throttle. - Go to Ngrok's Endpoints page. You will see some unique address like
***.ngrok-free.app, click on it to open endpoint's details page and then, copy your unique address. - Open in the browser copied address and make sure it proxies to your locally launched app at
http://localhost:8001 - Use copied address on your gameserver. Open file
addons/sourcemod/configs/core.cfgand change variable values by replacing hostname with your Ngrok address:MinidumpUrlshould look likehttp://***.ngrok-free.app/submitMinidumpSymbolUrlshould look likehttp://***.ngrok-free.app/symbols/submitMinidumpBinaryUrlshould look likehttp://***.ngrok-free.app/binary/submit
- After server crash it will send information to your application. You can monitor traffic on the Ngrok's Inspect Traffic page (button is located on the right upper corner of endpoint's details page)
- Check container logs
docker compose logs <container> - Check application logs
docker exec -it throttle bashand open file/var/www/throttle/logs/main.log