Create and access a directory on the host machine:
mkdir my-threadkiller
cd my-threadkiller
Create a bot at @BotFather, and get its API token.
Create a compose.yml file in the directory you created with the following contents, replacing the TG_BOT_TOKEN value with the API token you got previously: