Docker Compose
This the easiest and recommended method to host Cat Userbot.
≡ Run your bot in docker with just simple steps
〣 Install required packages
Install git & docker compose
〣 Clone the repo & make config
Change dir to catuserbot & make config.py to save config values
〣 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
Whenever there is an update to our base docker image (will be notified via the channel or support group), use the below steps to update your docker instances. This is not part of the main guide or not a method to update the Bot.
〣 Steps to update base docker image**.**
stop the running containers
pull the latest image from hub
build and run with latest image
Last updated
Was this helpful?