πDocker Compose
This the easiest and recommended method to host Cat Userbot.
β‘ Run your bot in docker with just simple steps
γ£ Install required packages
sudo apt install --no-install-recommends -y git docker-compose docker.io
γ£ Clone the repo & make config
git clone https://github.com/TgCatUB/catuserbot && cd catuserbot && mv exampleconfig.py config.py
γ£ Edit the config.py with your config values
Modify the config.py with any text editor, like
nano config.py
Check : Config Values
γ£ All setup completed, its time to run the bot.
Run:
sudo docker-compose up
Run detached:
sudo docker-compose up -d
Stop:
sudo docker-compose stop
Check:
sudo docker-compose ps
γ£ Steps to update base docker image**.**
sudo docker-compose stop
sudo docker pull catub/core:bullseye
sudo docker-compose up --build
Last updated
Was this helpful?