Deploy with Docker
This tutorial will have you deploying discordgsm with docker.
This guide is only for users who insist on self-hosting the discordgsm bot. Don't even try if you do not have any IT skills because it is time wasting and may make yourself unhappy. Use the public bot instead:
Add to Server
Get Started
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
docker pull discordgsm/discord-game-server-monitor:latest
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 ;
docker run -d \
--name discord-game-server-monitor \
--restart=always \
-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
--name discord-game-server-monitor \
--restart=always \
-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.