📕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.pyCheck : Config Values
〣 All setup completed, its time to run the bot.
Run:
sudo docker-compose upRun detached:
sudo docker-compose up -dStop:
sudo docker-compose stopCheck:
sudo docker-compose ps
〣 Steps to update base docker image**.**
sudo docker-compose stopsudo docker pull catub/core:bullseyesudo docker-compose up --buildLast updated
Was this helpful?