Skip to content

Self hosting using Docker

Agnaldo junior edited this page Apr 26, 2023 · 6 revisions

To deploy the bot using the Docker engine, you need to have it installed

Requisites

  • Docker engine 18+
  • Docker-compose 1.24+

Steps

  1. Create a discord application in https://discord.com/developers/ and get the DISCORD_TOKEN
  2. Download this docker-compose.yml file and put it anywhere to setup the needed images. Edit the envinronments to add DISCORD_TOKEN there.
  3. In a docker shell, cd to the directory containing the file, and run:
docker-compose up

You can use the -d flag to daemonize and make the bot run in background, but it's recommended to test before doing so.

Clone this wiki locally