Deploy with Docker
This tutorial will have you deploying discordgsm with docker.
Before deployment, you need to prepare the following item(s).
This tutorial will pull the image from a registry and create and start the container.
Docker Hub: https://hub.docker.com/r/discordgsm/discord-game-server-monitor
1. Pull the image from a registry
2. Create and start container
The example below start the container with discord bot.
Edit the <APP_TOKEN> as the Discord Bot Token. Learn more: Guide: How to Get a Discord Bot Token
Edit the <WHITELIST_GUILDS> as the Discord Guild ID, if more than one, separate with ;
--name discord-game-server-monitor \
-v discord-game-server-monitor-data:/usr/src/app/data \
-e APP_TOKEN=<APP_TOKEN> \
-e WHITELIST_GUILDS=<WHITELIST_GUILDS> \
discordgsm/discord-game-server-monitor:latest python main.py
3. Add the bot your server
View the console output and click the bot invite link to add the bot to your server.
4. Congratulations! 🎉
DiscordGSM has deployed.