Description
For development we are able to run it locally without any changes.
You should have docker installed locally!
You should not use .install.sh locally because it’s only for server deploy really (installing docker and issue ssl certs)
Install
- Get and run ngrok
https://ngrok.com/
Dowload and run ngrok it will create external https url for your local bot, so you will be able to run telegram bot on webhook.
You should run it like
ngrok http 80Put the domain from ngrok into
DOMAINvariable. - Fill
.envvariables from.sample.envexample - Run it
docker compose up -d - Rebuild
After making some changes you are able to rebuild only single container using the command
docker compose up --build --no-deps -d botor
docker compose up --build --no-deps -d typescript-appAfter ngrok reloading url could be changed and you should change
DOMAINvariable and rebuild nginx containerdocker compose up --build nginx -d