- Caddy
- Nginx
- Apache
A discord bot allowing anyone to implement BYOD (bring your own domain) into their service.
- Ruby 3.0.0 or higher
- Bundler
- PostgreSQL server
- Discord bot token Or use the Docker image to skip:
- Ruby
- Bundler
- PostgreSQL server
There are two ways to install the bot, either by using Docker RECOMMENDED or by installing it manually.
- Get the
docker-compose.yml
file from the repository here. - Edit the environment variables in the
docker-compose.yml
file. - Run
docker-compose up -d
to start the bot.
- Clone the repository.
- Get the
docker-compose.build.yml
file from the repository here. - Edit the environment variables in the
docker-compose.build.yml
file. - Run
docker-compose -f docker-compose.build.yml build
to build the bot. - Run
docker-compose -f docker-compose.build.yml up -d
to start the bot.
Note
When setting up manually, you can use sqlite3 instead of PostgreSQL.
To use sqlite, just pass the --sqlite
flag to the bundle exec ruby cli/cli.rb start
command.
Example: bundle exec ruby cli/cli.rb start --sqlite
This is not recommended for production use.
- Clone the repository.
- Run
bundle install
to install the required gems. - Run
bundle exec ruby cli/cli.rb start
to start the bot. You will be prompted to enter the required environment variables.