Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Docker Guide For Streamerbot 🐳

Credits for guide: megadlbot project

Install docker

Install Docker-compose

  • Easiest way to install docker-compose is
    sudo pip install docker-compose
  • Also you can check other official methods of installing docker-compose here

Run Streamerbot

  • We dont need to clone the repo (yeah Docker-compose does that for us)
  • Setup configs (the 2 files in docker folder)
    • Download the sample config file

      • mkdir streamerbot && cd streamerbot
        Create and change to a working directory
      • wget https://github.com/Samfun75/SamfunStreamerBot/raw/master/docker/docker-config.ini.sample -O docker-config.ini
        Download docker-config.ini file
      • vim docker-config.ini
        Fill all the variables witht correct values and save
    • Download the yml file for docker-compose

      • wget https://github.com/Samfun75/SamfunStreamerBot/raw/master/docker/docker-compose.yml
        Download docker-comose.yml
  • Finally start the bot
    docker-compose up -d
  • Voila !! The bot should be running now
    Check logs with docker-compose logs -f

How to stop the bot

  • Stop Command

    • docker-compose stop
      This will just stop the containers. Built images won't be removed.
      So next time you can start with docker-compose start command and it will start up quickly.
  • Down command

    • docker-compose down
      This will stop and delete the built images. So next time you have to do docker-compose up -d to start the build and start the bot.