Skip to content

Self-hosting

Previous experience with hosting is recommended. If you don't understand this section, consider getting a managed bot instead.

Requirements

You can view the supported installation methods on the next page ( you can press N or >). Regardless of the installation method you choose, the bot requires:

  • Node.js v18 or higher (with npm, pnpm, or yarn)
  • a forwarded (not firewalled) port
  • at least 150MB RAM
  • at least 1GB disk space (at least 100MB for the database if archiving)
  • a supported database (MySQL 8 recommended)

Although the bot itself uses around 120MB RAM, npm can use at least triple that during installation. If you're not using the Docker image (which comes with dependencies pre-installed), you may experience installation problems when less than 250MB RAM is allocated.

Supported databases

Provider Database Supported versions
mysql (recommended) MySQL 5.7 (5.7.8 or higher), 8
mysql MariaDB 10 (10.5.7 or higher)
postgresql PostgreSQL 9.4, 10, 11, 12, 13, 14
sqlite SQLite (built-in) *

SQLite should be avoided if you expect to use the archiving feature, especially in large guilds.

SQLite is an embedded (rather than server-based) database and has some advantages:

  • ✅ Incredibly easy to use, nothing extra to install and configure
  • ✅ Very fast for read-intensive workloads
  • ✅ No overhead (wasted resources going to the database server)

But archiving requires a lot of writing which may present some problems, especially in large/active guilds:

  • ❌ May be slower when messages are being written to the database
  • ❌ The database file will only grow in size, even when data is deleted. This can be fixed by occasionally manually vacuuming the database. Auto vacuuming is not enabled as it would increase fragmentation and degrade performance.

Hosting providers

BisectHosting

If you don't currently have a system that meets these requirements, please consider using one of these recommended hosts with my affiliate link by clicking on the logo. Buying with an affiliate link supports me at no extra cost to you.

Shared

$1.49/mo and get 25% off the first month with code discordtickets:

BisectHosting

Dedicated/virtual machines

Get €20 account credit:

Hetzner

Comments